mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2351 - Rename Database.getReference() to reference() with deprecation
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user