public void checkFirstname(String firstname) throws CmsIllegalArgumentException {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(firstname)) {
            throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_FIRSTNAME_EMPTY_0));
        }
    }
public void checkFirstname ( String firstname ) throws CmsIllegalArgumentException { if ( CmsStringUtil . isEmptyOrWhitespaceOnly ( firstname ) ) { throw new CmsIllegalArgumentException ( Messages . get ( ) . container ( Messages . ERR_FIRSTNAME_EMPTY_0 ) ) ; } }
@see org.opencms.security.I_CmsValidationHandler#checkFirstname(java.lang.String)