Browse Source

Fix codacy issues

Mario Danic 8 years ago
parent
commit
1f5e134fb9

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/ContactsPreferenceActivity.java

@@ -38,7 +38,7 @@ import com.owncloud.android.R;
 import com.owncloud.android.datamodel.OCFile;
 import com.owncloud.android.lib.common.utils.Log_OC;
 import com.owncloud.android.services.ContactsBackupJob;
-import com.owncloud.android.ui.fragment.ContactsBackup.ContactsBackupFragment;
+import com.owncloud.android.ui.fragment.contactsBackup.ContactsBackupFragment;
 import com.owncloud.android.ui.fragment.FileFragment;
 
 import java.util.Set;

+ 1 - 1
src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -83,7 +83,7 @@ import com.owncloud.android.services.observer.FileObserverService;
 import com.owncloud.android.syncadapter.FileSyncAdapter;
 import com.owncloud.android.ui.dialog.SortingOrderDialogFragment;
 import com.owncloud.android.ui.events.TokenPushEvent;
-import com.owncloud.android.ui.fragment.ContactsBackup.ContactListFragment;
+import com.owncloud.android.ui.fragment.contactsBackup.ContactListFragment;
 import com.owncloud.android.ui.fragment.ExtendedListFragment;
 import com.owncloud.android.ui.fragment.FileDetailFragment;
 import com.owncloud.android.ui.fragment.FileFragment;

+ 1 - 1
src/main/java/com/owncloud/android/ui/fragment/ContactsBackup/ContactListFragment.java

@@ -19,7 +19,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-package com.owncloud.android.ui.fragment.ContactsBackup;
+package com.owncloud.android.ui.fragment.contactsBackup;
 
 import android.Manifest;
 import android.accounts.Account;

+ 2 - 2
src/main/java/com/owncloud/android/ui/fragment/ContactsBackup/ContactsBackupFragment.java

@@ -18,7 +18,7 @@
  * You should have received a copy of the GNU Affero General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-package com.owncloud.android.ui.fragment.ContactsBackup;
+package com.owncloud.android.ui.fragment.contactsBackup;
 
 import android.Manifest;
 import android.app.DatePickerDialog;
@@ -67,7 +67,7 @@ public class ContactsBackupFragment extends FileFragment {
     private SharedPreferences sharedPreferences;
 
     @BindView(R.id.contacts_automatic_backup)
-    SwitchCompat backupSwitch;
+    private SwitchCompat backupSwitch;
 
     @Override
     public View onCreateView(final LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {