Allow overrides of ContactBase methods (#681)

Hibernate might (will?) need to override these, so they shouldn't be
final.
This commit is contained in:
gbrodman 2020-07-14 14:47:47 -04:00 committed by GitHub
parent 37d3cc44b4
commit e74a9e6f02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,12 +224,12 @@ public class ContactBase extends EppResource implements ResourceWithTransferData
return disclose; return disclose;
} }
public final String getCurrentSponsorClientId() { public String getCurrentSponsorClientId() {
return getPersistedCurrentSponsorClientId(); return getPersistedCurrentSponsorClientId();
} }
@Override @Override
public final ContactTransferData getTransferData() { public ContactTransferData getTransferData() {
return Optional.ofNullable(transferData).orElse(ContactTransferData.EMPTY); return Optional.ofNullable(transferData).orElse(ContactTransferData.EMPTY);
} }