Browse Source

put variables to the top of the class

AndyScherzinger 7 years ago
parent
commit
4342e39142

+ 4 - 5
src/main/java/com/owncloud/android/ui/dialog/SharePasswordDialogFragment.java

@@ -47,6 +47,10 @@ public class SharePasswordDialogFragment extends DialogFragment
 
     private static final String ARG_FILE = "FILE";
     private static final String ARG_CREATE_SHARE = "CREATE_SHARE";
+    public static final String PASSWORD_FRAGMENT = "PASSWORD_FRAGMENT";
+
+    private OCFile mFile;
+    private boolean mCreateShare;
 
     @Override
     public void onStart() {
@@ -57,11 +61,6 @@ public class SharePasswordDialogFragment extends DialogFragment
         alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setTextColor(ThemeUtils.primaryAccentColor());
     }
 
-    public static final String PASSWORD_FRAGMENT = "PASSWORD_FRAGMENT";
-
-    private OCFile mFile;
-    private boolean mCreateShare;
-
     /**
      * Public factory method to create new SharePasswordDialogFragment instances.
      *