@Override
    public boolean isTooLarge(CmsFileInfo cmsFileInfo) {

        long maxFileSize = CmsCoreProvider.get().getUploadFileSizeLimit();
        if (maxFileSize < 0) {
            return false;
        }
        return cmsFileInfo.getFileSize() > maxFileSize;
    }
@ Override public boolean isTooLarge ( CmsFileInfo cmsFileInfo ) { long maxFileSize = CmsCoreProvider . get ( ) . getUploadFileSizeLimit ( ) ; if ( maxFileSize < 0 ) { return false ; } return cmsFileInfo . getFileSize ( ) > maxFileSize ; }
@see org.opencms.ade.upload.client.ui.A_CmsUploadDialog#isTooLarge(org.opencms.gwt.client.ui.input.upload.CmsFileInfo)