Skip to content

Commit

Permalink
minor formattings
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyScherzinger committed Sep 1, 2016
1 parent b64e41f commit 2d05f45
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/com/owncloud/android/ui/fragment/ShareFileFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -599,7 +595,6 @@ public void onDetach() {
mListener = null;
}


/**
* Get known server capabilities from DB
* <p/>
Expand All @@ -613,7 +608,6 @@ public void refreshCapabilitiesFromDB() {
}
}


/**
* Get users and groups from the DB to fill in the "share with" list.
* <p/>
Expand Down

0 comments on commit 2d05f45

Please sign in to comment.