mirror of
https://github.com/google/nomulus.git
synced 2025-07-21 10:16:07 +02:00
Fix a warning from Hibernate (#645)
Hibernate complained that ContactResource.getTransferData should not be final: WARN: HHH000305: Could not create proxy factory for:google.registry.model.contact.ContactResource org.hibernate.HibernateException: Getter methods of lazy classes cannot be final: google.registry.model.contact.ContactResource#getTransferData
This commit is contained in:
parent
51a67db19c
commit
e73e5defc2
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ public class ContactResource extends EppResource
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public final ContactTransferData getTransferData() {
|
public ContactTransferData getTransferData() {
|
||||||
return Optional.ofNullable(transferData).orElse(ContactTransferData.EMPTY);
|
return Optional.ofNullable(transferData).orElse(ContactTransferData.EMPTY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue