From 8b55e8b35ca36ecb89f27853b3244401e03324a2 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Thu, 20 Aug 2015 11:35:40 +0200 Subject: [PATCH] prefixed variables with 'm' --- .../ui/dialog/FileActionsDialogFragment.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/com/owncloud/android/ui/dialog/FileActionsDialogFragment.java b/src/com/owncloud/android/ui/dialog/FileActionsDialogFragment.java index 6a0239427a..cf75cc2288 100644 --- a/src/com/owncloud/android/ui/dialog/FileActionsDialogFragment.java +++ b/src/com/owncloud/android/ui/dialog/FileActionsDialogFragment.java @@ -29,9 +29,9 @@ public class FileActionsDialogFragment extends DialogFragment implements private static final String ARG_FILE_POSITION = "FILE_POSITION"; public static final String FTAG_FILE_ACTIONS = "FILE_ACTIONS_FRAGMENT"; - private List menuItems; + private List mMenuItems; - private int filePosition; + private int mFilePosition; private ListView mListView; @@ -92,13 +92,13 @@ public class FileActionsDialogFragment extends DialogFragment implements public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); - filePosition = getArguments().getInt(ARG_FILE_POSITION); + mFilePosition = getArguments().getInt(ARG_FILE_POSITION); MenuParcelable menu = getArguments().getParcelable(ARG_ITEM_LIST); - menuItems = menu.getMenuItems(); + mMenuItems = menu.getMenuItems(); List stringList = new ArrayList(); - for (int i = 0; i < menuItems.size(); i++) { - stringList.add(menuItems.get(i).getMenuText()); + for (int i = 0; i < mMenuItems.size(); i++) { + stringList.add(mMenuItems.get(i).getMenuText()); } ArrayAdapter adapter = new ArrayAdapter(getActivity(), @@ -115,7 +115,8 @@ public class FileActionsDialogFragment extends DialogFragment implements @Override public void onItemClick(AdapterView parent, View view, int position, long id) { dismiss(); - ((FileActionsDialogFragmentListener) getTargetFragment()).onFileActionChosen(menuItems.get(position).getMenuItemId(), filePosition); + ((FileActionsDialogFragmentListener) getTargetFragment()) + .onFileActionChosen(mMenuItems.get(position).getMenuItemId(), mFilePosition); } /**