diff --git a/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java b/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java index 39389a7d03..1547aab1bc 100644 --- a/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java +++ b/src/main/java/com/owncloud/android/datamodel/FileDataStorageManager.java @@ -39,7 +39,6 @@ import com.google.gson.Gson; import com.google.gson.JsonSyntaxException; import com.owncloud.android.MainApp; import com.owncloud.android.db.ProviderMeta.ProviderTableMeta; -import com.owncloud.android.lib.common.DirectEditing; import com.owncloud.android.lib.common.network.WebdavEntry; import com.owncloud.android.lib.common.operations.RemoteOperationResult; import com.owncloud.android.lib.common.utils.Log_OC; diff --git a/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java b/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java index ae41b0fbb3..77d7ddaf65 100644 --- a/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java +++ b/src/main/java/com/owncloud/android/ui/fragment/OCFileListFragment.java @@ -100,7 +100,6 @@ import org.apache.commons.httpclient.HttpStatus; import org.greenrobot.eventbus.EventBus; import org.greenrobot.eventbus.Subscribe; import org.greenrobot.eventbus.ThreadMode; -import org.jetbrains.annotations.NotNull; import org.parceler.Parcels; import java.io.File; diff --git a/src/main/java/com/owncloud/android/ui/preview/PreviewTextStringFragment.java b/src/main/java/com/owncloud/android/ui/preview/PreviewTextStringFragment.java index ab42679162..4a4912f954 100644 --- a/src/main/java/com/owncloud/android/ui/preview/PreviewTextStringFragment.java +++ b/src/main/java/com/owncloud/android/ui/preview/PreviewTextStringFragment.java @@ -51,11 +51,8 @@ import androidx.appcompat.widget.SearchView; import androidx.core.view.MenuItemCompat; public class PreviewTextStringFragment extends PreviewTextFragment { - private static final String TAG = PreviewTextStringFragment.class.getSimpleName(); private static final String EXTRA_FILE = "FILE"; - private FloatingActionButton mFabMain; - @Inject UserAccountManager accountManager; /** @@ -107,7 +104,7 @@ public class PreviewTextStringFragment extends PreviewTextFragment { throw new RuntimeException("View may not be null"); } - mFabMain = view.findViewById(R.id.text_preview_fab); + FloatingActionButton mFabMain = view.findViewById(R.id.text_preview_fab); mFabMain.setVisibility(View.VISIBLE); mFabMain.setEnabled(true); mFabMain.setOnClickListener(v -> edit());