Преглед изворни кода

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);