#2351 - Rename Database.getReference() to reference() with deprecation

This commit is contained in:
rbygrave committed 2021-09-03 10:47:56 +12:00
1 parent 8cb43788dc
commit 57c0bceb63
14 files changed
+48 -46

No files matched your search

@@ -687,7 +687,7 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
*/
@Override
@SuppressWarnings({"unchecked", "rawtypes"})
public <T> T getReference(Class<T> type, Object id) {
public <T> T reference(Class<T> type, Object id) {
if (id == null) {
throw new NullPointerException("The id is null");
}