From ae947a5ca4b3c1a57e0bb75f6250a2842aa06a3d Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 2 Aug 2016 17:53:27 +0200 Subject: [PATCH] minor formattings --- .../android/ui/fragment/ShareFileFragment.java | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/com/owncloud/android/ui/fragment/ShareFileFragment.java b/src/com/owncloud/android/ui/fragment/ShareFileFragment.java index a08480db9b27..926ecc74e2f0 100644 --- a/src/com/owncloud/android/ui/fragment/ShareFileFragment.java +++ b/src/com/owncloud/android/ui/fragment/ShareFileFragment.java @@ -489,19 +489,16 @@ private void initEditPermissionListener(View shareView) { * @param shareView Root view in the fragment. */ private void initHideFileListingListener(View shareView) { - mOnHideFileListingPermissionInteractionListener = - new OnHideFileListingPermissionInteractionListener(); + mOnHideFileListingPermissionInteractionListener = new OnHideFileListingPermissionInteractionListener(); ((SwitchCompat) shareView.findViewById(R.id.shareViaLinkHideListPermissionSwitch)). setOnCheckedChangeListener(mOnHideFileListingPermissionInteractionListener); - } /** * Listener for user actions that start any update on the edit permissions for the public link. */ - private class OnEditPermissionInteractionListener - implements CompoundButton.OnCheckedChangeListener { + private class OnEditPermissionInteractionListener implements CompoundButton.OnCheckedChangeListener { /** * Called by R.id.shareViaLinkEditPermissionSwitch to set or clear the edit permission. @@ -535,8 +532,7 @@ public void onCheckedChanged(CompoundButton switchView, boolean isChecked) { /** * Listener for user actions that start any update on the hide file listing permissions for the public link. */ - private class OnHideFileListingPermissionInteractionListener - implements CompoundButton.OnCheckedChangeListener { + private class OnHideFileListingPermissionInteractionListener implements CompoundButton.OnCheckedChangeListener { /** * Called by R.id.shareViaLinkHideListPermissionSwitch to set or clear the edit permission. @@ -599,7 +595,6 @@ public void onDetach() { mListener = null; } - /** * Get known server capabilities from DB *

@@ -613,7 +608,6 @@ public void refreshCapabilitiesFromDB() { } } - /** * Get users and groups from the DB to fill in the "share with" list. *