cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/5] android commit: Make showWebPage() take a Map instead of a HashMap
Date Thu, 19 Feb 2015 15:34:51 GMT
Make showWebPage() take a Map instead of a HashMap


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/88f50a66
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/88f50a66
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/88f50a66

Branch: refs/heads/master
Commit: 88f50a66ff395bde710910e6382c0c706e1f1a68
Parents: 7be600d
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 19 10:30:26 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 19 10:30:26 2015 -0500

----------------------------------------------------------------------
 framework/src/org/apache/cordova/AndroidWebView.java | 4 ++--
 framework/src/org/apache/cordova/CordovaWebView.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/88f50a66/framework/src/org/apache/cordova/AndroidWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/AndroidWebView.java b/framework/src/org/apache/cordova/AndroidWebView.java
index 50641fe..de171f2 100755
--- a/framework/src/org/apache/cordova/AndroidWebView.java
+++ b/framework/src/org/apache/cordova/AndroidWebView.java
@@ -21,9 +21,9 @@ package org.apache.cordova;
 
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
-import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
+import java.util.Map;
 
 import android.annotation.SuppressLint;
 import android.annotation.TargetApi;
@@ -442,7 +442,7 @@ public class AndroidWebView extends WebView implements CordovaWebView
{
      * @param clearHistory  Clear the history stack, so new page becomes top of history
      * @param params        Parameters for new app
      */
-    public void showWebPage(String url, boolean openExternal, boolean clearHistory, HashMap<String,
Object> params) {
+    public void showWebPage(String url, boolean openExternal, boolean clearHistory, Map<String,
Object> params) {
         LOG.d(TAG, "showWebPage(%s, %b, %b, HashMap", url, openExternal, clearHistory);
 
         // If clearing history

http://git-wip-us.apache.org/repos/asf/cordova-android/blob/88f50a66/framework/src/org/apache/cordova/CordovaWebView.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java
index 1cb0601..3b209d5 100644
--- a/framework/src/org/apache/cordova/CordovaWebView.java
+++ b/framework/src/org/apache/cordova/CordovaWebView.java
@@ -1,6 +1,6 @@
 package org.apache.cordova;
 
-import java.util.HashMap;
+import java.util.Map;
 import java.util.List;
 
 import android.content.Context;
@@ -63,7 +63,7 @@ public interface CordovaWebView {
     @Deprecated
     void sendJavascript(String statememt);
 
-    void showWebPage(String errorUrl, boolean b, boolean c, HashMap<String, Object>
params);
+    void showWebPage(String errorUrl, boolean b, boolean c, Map<String, Object> params);
 
     boolean isCustomViewShowing();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message