Преглед на файлове

codacy: Avoid using redundant field initializer

AndyScherzinger преди 6 години
родител
ревизия
8a53f5ff56
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java

+ 2 - 2
src/main/java/com/owncloud/android/ui/activity/UserInfoActivity.java

@@ -461,8 +461,8 @@ public class UserInfoActivity extends FileActivity {
 
         public class ViewHolder extends RecyclerView.ViewHolder {
 
-            @BindView(R.id.icon) protected ImageView icon = null;
-            @BindView(R.id.text) protected TextView text = null;
+            @BindView(R.id.icon) protected ImageView icon;
+            @BindView(R.id.text) protected TextView text;
 
             public ViewHolder(View itemView) {
                 super(itemView);