java/src/json/ext/RuntimeInfo.java in json_pure-1.8.6 vs java/src/json/ext/RuntimeInfo.java in json_pure-2.0.0
- old
+ new
@@ -88,13 +88,9 @@
assert cache != null : "Runtime given has not initialized JSON::Ext";
return cache;
}
}
- public boolean encodingsSupported() {
- return utf8 != null && utf8.get() != null;
- }
-
public RubyEncoding getEncoding(ThreadContext context, String name) {
synchronized (encodings) {
WeakReference<RubyEncoding> encoding = encodings.get(name);
if (encoding == null) {
Ruby runtime = context.getRuntime();