浏览代码

codacy: Avoid unused private fields

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 6 年之前
父节点
当前提交
4af1a57723

+ 0 - 1
src/main/java/com/owncloud/android/ui/adapter/NotificationListAdapter.java

@@ -74,7 +74,6 @@ import butterknife.ButterKnife;
  * This Adapter populates a RecyclerView with all notifications for an account within the app.
  */
 public class NotificationListAdapter extends RecyclerView.Adapter<NotificationListAdapter.NotificationViewHolder> {
-    private static final String TAG = NotificationListAdapter.class.getSimpleName();
     private StyleSpan styleSpanBold = new StyleSpan(Typeface.BOLD);
     private ForegroundColorSpan foregroundColorSpanBlack = new ForegroundColorSpan(Color.BLACK);
 

+ 0 - 4
src/main/java/com/owncloud/android/utils/DeviceCredentialUtils.java

@@ -36,10 +36,6 @@ public final class DeviceCredentialUtils {
 
     private static final String TAG = DeviceCredentialUtils.class.getSimpleName();
 
-    private static final int AUTHENTICATION_DURATION_SECONDS = 30;
-
-    private static final String ANDROID_KEY_STORE = "AndroidKeyStore";
-
     private DeviceCredentialUtils() {
         // utility class -> private constructor
     }