소스 검색

Declare static fields as protected instead of public

Sebastián Katzer 12 년 전
부모
커밋
663037ad39
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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) {