diff --git a/framework/src/org/apache/cordova/CoreAndroid.java b/framework/src/org/apache/cordova/CoreAndroid.java index 4b704a6f..f7caf35d 100755 --- a/framework/src/org/apache/cordova/CoreAndroid.java +++ b/framework/src/org/apache/cordova/CoreAndroid.java @@ -178,13 +178,13 @@ public class CoreAndroid extends CordovaPlugin { } else if (value.getClass().equals(String.class)) { - params.put(key, (String)value); + params.put(key, value); } else if (value.getClass().equals(Boolean.class)) { - params.put(key, (Boolean)value); + params.put(key, value); } else if (value.getClass().equals(Integer.class)) { - params.put(key, (Integer)value); + params.put(key, value); } } }