cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [05/11] android commit: Remove another unused Config method (Breaking Change)
Date Tue, 14 Oct 2014 21:23:52 GMT
Remove another unused Config method (Breaking Change)


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

Branch: refs/heads/unplug-whitelist
Commit: af1518d3c83f7b511d05a2e9840b60c43552d04f
Parents: 4c6777e
Author: Ian Clelland <iclelland@chromium.org>
Authored: Thu Oct 9 15:23:07 2014 -0400
Committer: Ian Clelland <iclelland@chromium.org>
Committed: Tue Oct 14 13:48:27 2014 -0400

----------------------------------------------------------------------
 framework/src/org/apache/cordova/Config.java | 14 --------------
 1 file changed, 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/af1518d3/framework/src/org/apache/cordova/Config.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/Config.java b/framework/src/org/apache/cordova/Config.java
index 1df7fd2..f261b78 100644
--- a/framework/src/org/apache/cordova/Config.java
+++ b/framework/src/org/apache/cordova/Config.java
@@ -46,20 +46,6 @@ public class Config {
             parser = new ConfigXmlParser();
         }
     }
-    
-    /**
-     * Add entry to approved list of URLs (whitelist)
-     *
-     * @param origin        URL regular expression to allow
-     * @param subdomains    T=include all subdomains under origin
-     */
-    public static void addWhiteListEntry(String origin, boolean subdomains) {
-        if (parser == null) {
-            Log.e(TAG, "Config was not initialised. Did you forget to Config.init(this)?");
-            return;
-        }
-        parser.getInternalWhitelist().addWhiteListEntry(origin, subdomains);
-    }
 
     public static String getStartUrl() {
         if (parser == null) {


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


Mime
View raw message