if (getCodigoFiscal() != null && getCodigoFiscal().equalsIgnoreCase(newPassword)) {
if (getFiscalCode() != null && getCodigoFiscal().equalsIgnoreCase(newPassword)) {
    public void changePassword(String oldPassword, String newPassword) {        if (newPassword == null) {            throw new DomainException("error.person.invalidNullPassword");        }                if (getUser() == null) {            throw new DomainException("error.person.unExistingUser");        }        if (!PasswordEncryptor.areEquals(getPassword(), oldPassword)) {            throw new DomainException("error.person.invalidExistingPassword");        }        if (PasswordEncryptor.areEquals(getPassword(), newPassword)) {            throw new DomainException("error.person.invalidSamePassword");        }        if (newPassword.equals("")) {            throw new DomainException("error.person.invalidEmptyPassword");        }        if (getNumeroDocumentoIdentificacao().equalsIgnoreCase(newPassword)) {            throw new DomainException("error.person.invalidIDPassword");        }        if (getCodigoFiscal() != null && getCodigoFiscal().equalsIgnoreCase(newPassword)) {            throw new DomainException("error.person.invalidFiscalCodePassword");        }        if (getNumContribuinte() != null && getNumContribuinte().equalsIgnoreCase(newPassword)) {            throw new DomainException("error.person.invalidTaxPayerPassword");        }        setPassword(PasswordEncryptor.encryptPassword(newPassword));    }