cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [4/4] android commit: Make private PluginManager.clearPluginObjects, .startupPlugins
Date Mon, 14 Jul 2014 18:31:08 GMT
Make private PluginManager.clearPluginObjects, .startupPlugins


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

Branch: refs/heads/4.0.x
Commit: a99c8219bd90f913df9083652972c5037a8426d9
Parents: a03fdab
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Mon Jul 14 14:30:10 2014 -0400
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Mon Jul 14 14:30:10 2014 -0400

----------------------------------------------------------------------
 framework/src/org/apache/cordova/PluginManager.java | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/a99c8219/framework/src/org/apache/cordova/PluginManager.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java
index 2bb984e..bf69314 100755
--- a/framework/src/org/apache/cordova/PluginManager.java
+++ b/framework/src/org/apache/cordova/PluginManager.java
@@ -83,18 +83,9 @@ public class PluginManager {
     }
 
     /**
-     * Delete all plugin objects.
-     */
-    @Deprecated // Should not be exposed as public.
-    public void clearPluginObjects() {
-        pluginMap.clear();
-    }
-
-    /**
      * Create plugins objects that have onload set.
      */
-    @Deprecated // Should not be exposed as public.
-    public void startupPlugins() {
+    private void startupPlugins() {
         for (PluginEntry entry : entryMap.values()) {
             if (entry.onload) {
                 getPlugin(entry.service);


Mime
View raw message