소스 검색

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