From 6d11fbde8b2d73b07d5234a84b45bd29df207011 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 27 May 2019 16:48:03 +0200 Subject: [PATCH] codacy: Avoid unused imports Signed-off-by: Andy Scherzinger --- .../com/owncloud/android/ui/activity/FirstRunActivity.java | 4 ++-- .../owncloud/android/ui/activity/RichDocumentsWebView.java | 1 - .../android/ui/trashbin/RemoteTrashbinRepository.java | 1 - src/main/java/com/owncloud/android/utils/FilesSyncHelper.java | 1 - 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/owncloud/android/ui/activity/FirstRunActivity.java b/src/main/java/com/owncloud/android/ui/activity/FirstRunActivity.java index 0429f18ce0..937c15d4a6 100644 --- a/src/main/java/com/owncloud/android/ui/activity/FirstRunActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/FirstRunActivity.java @@ -37,7 +37,6 @@ import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; -import androidx.viewpager.widget.ViewPager; import com.nextcloud.client.account.UserAccountManager; import com.nextcloud.client.appinfo.AppInfo; @@ -45,7 +44,6 @@ import com.nextcloud.client.di.Injectable; import com.nextcloud.client.preferences.AppPreferences; import com.nextcloud.client.whatsnew.WhatsNewService; import com.owncloud.android.BuildConfig; -import com.owncloud.android.MainApp; import com.owncloud.android.R; import com.owncloud.android.authentication.AccountUtils; import com.owncloud.android.authentication.AuthenticatorActivity; @@ -56,6 +54,8 @@ import com.owncloud.android.utils.DisplayUtils; import javax.inject.Inject; +import androidx.viewpager.widget.ViewPager; + /** * Activity displaying general feature after a fresh install. */ diff --git a/src/main/java/com/owncloud/android/ui/activity/RichDocumentsWebView.java b/src/main/java/com/owncloud/android/ui/activity/RichDocumentsWebView.java index 7804fe111a..24abbc99f1 100644 --- a/src/main/java/com/owncloud/android/ui/activity/RichDocumentsWebView.java +++ b/src/main/java/com/owncloud/android/ui/activity/RichDocumentsWebView.java @@ -47,7 +47,6 @@ import com.bumptech.glide.Glide; import com.google.android.material.snackbar.Snackbar; import com.nextcloud.client.account.CurrentAccountProvider; import com.owncloud.android.R; -import com.owncloud.android.authentication.AccountUtils; import com.owncloud.android.datamodel.OCFile; import com.owncloud.android.datamodel.Template; import com.owncloud.android.datamodel.ThumbnailsCacheManager; diff --git a/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.java b/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.java index a7b4a198ca..a10646f6e5 100644 --- a/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.java +++ b/src/main/java/com/owncloud/android/ui/trashbin/RemoteTrashbinRepository.java @@ -24,7 +24,6 @@ package com.owncloud.android.ui.trashbin; import android.accounts.Account; -import android.accounts.AccountManager; import android.content.Context; import android.os.AsyncTask; diff --git a/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java b/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java index 5aa63617fc..54cb21fe22 100644 --- a/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java +++ b/src/main/java/com/owncloud/android/utils/FilesSyncHelper.java @@ -38,7 +38,6 @@ import android.util.Log; import com.evernote.android.job.JobManager; import com.evernote.android.job.JobRequest; -import com.evernote.android.job.util.Device; import com.nextcloud.client.account.UserAccountManager; import com.nextcloud.client.network.ConnectivityService; import com.nextcloud.client.preferences.AppPreferences;