Explorar el Código

Declare static fields as protected instead of public

Sebastián Katzer hace 12 años
padre
commit
663037ad39
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/android/LocalNotification.java

+ 3 - 3
src/android/LocalNotification.java

@@ -48,10 +48,10 @@ import android.content.SharedPreferences.Editor;
  */
 public class LocalNotification extends CordovaPlugin {
 
-    public final static String PLUGIN_NAME = "LocalNotification";
+    protected final static String PLUGIN_NAME = "LocalNotification";
 
-    public static CordovaWebView webView   = null;
-    public static Context context          = null;
+    protected static CordovaWebView webView   = null;
+    protected static Context context          = null;
 
     @Override
     public void initialize (CordovaInterface cordova, CordovaWebView webView) {