Remove unused contructors

This commit is contained in:
James Agnew 2019-09-26 16:42:39 -04:00
parent cc0df9850c
commit 3870c14a6c
1 changed files with 1 additions and 11 deletions

View File

@ -52,15 +52,6 @@ public class GsonStructure implements JsonLikeStructure {
super();
}
public GsonStructure (JsonObject json) {
super();
setNativeObject(json);
}
public GsonStructure (JsonArray json) {
super();
setNativeArray(json);
}
public void setNativeObject (JsonObject json) {
this.rootType = ROOT_TYPE.OBJECT;
this.nativeRoot = json;
@ -111,8 +102,7 @@ public class GsonStructure implements JsonLikeStructure {
if (nextInt == '{') {
JsonObject root = gson.fromJson(pbr, JsonObject.class);
setNativeObject(root);
} else
if (nextInt == '[') {
} else if (nextInt == '[') {
JsonArray root = gson.fromJson(pbr, JsonArray.class);
setNativeArray(root);
}