summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 17:54:29 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 17:54:29 -0400
commite6b4c1050c9d21a6004d6be2de7aa5e0191de194 (patch)
treef8c448fa3fe16de6961bce14dd6b767a514efb0c
parent434b09975f0012fa1f8b8b3efde6b5068b407efd (diff)
downloadsdl_android-feature/remove_deprecated_apis_part3.tar.gz
Remove deprecated methods from RPCStructfeature/remove_deprecated_apis_part3
-rw-r--r--base/src/main/java/com/smartdevicelink/proxy/RPCStruct.java10
1 files changed, 1 insertions, 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<String, Object> 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) {