#342 - Remove deprecated method - JsonContext createJsonContext() ... migrate to json()

This commit is contained in:
Robin Bygrave
2015-07-20 11:27:00 +12:00
parent dbe984c668
commit 245cbb0ea1
4 changed files with 0 additions and 25 deletions
-8
View File
@@ -1487,13 +1487,5 @@ public final class Ebean {
public static JsonContext json() {
return serverMgr.getDefaultServer().json();
}
/**
* Return the JsonContext for reading/writing JSON.
* @deprecated Please use #json instead.
*/
public static JsonContext createJsonContext() {
return json();
}
}
@@ -1745,12 +1745,6 @@ public interface EbeanServer {
*/
void runCacheWarming(Class<?> beanType);
/**
* Return the JsonContext for reading/writing JSON.
* @deprecated Please use #json instead.
*/
JsonContext createJsonContext();
/**
* Return the JsonContext for reading/writing JSON.
* <p>
@@ -1974,12 +1974,6 @@ public final class DefaultServer implements SpiEbeanServer {
// immutable thread safe so return shared instance
return jsonContext;
}
@Override
public JsonContext createJsonContext() {
return json();
}
@Override
public void collectQueryStats(ObjectGraphNode node, long loadedBeanCount, long timeMicros) {