1
0
mirror of https://github.com/google/nomulus synced 2026-01-08 23:23:32 +00:00

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

View File

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