From e6b4c1050c9d21a6004d6be2de7aa5e0191de194 Mon Sep 17 00:00:00 2001 From: Bilal Alsharifi Date: Wed, 2 Sep 2020 17:54:29 -0400 Subject: Remove deprecated methods from RPCStruct --- base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java b/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java index 402866291..cebe43a60 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java +++ b/base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java @@ -91,19 +91,11 @@ public class RPCStruct { store = JsonRPCMarshaller.deserializeJSONObject(jsonObject); } - - // deserializeJSONObject method moved to JsonRPCMarshaller for consistency - // Keep reference here for backwards compatibility - @Deprecated - public static Hashtable deserializeJSONObject(JSONObject jsonObject) - throws JSONException { - return JsonRPCMarshaller.deserializeJSONObject(jsonObject); - } public JSONObject serializeJSON() throws JSONException { return JsonRPCMarshaller.serializeHashtable(store); } - + @SuppressWarnings("unchecked") public JSONObject serializeJSON(byte protocolVersion) throws JSONException { if (protocolVersion > 1) { -- cgit v1.2.1