From 84f0851e374452ebb4906bf7659755fbfd3dfa13 Mon Sep 17 00:00:00 2001 From: github-dummy-repo <56972418+github-dummy-repo@users.noreply.github.com> Date: Thu, 1 Oct 2020 16:58:07 +0530 Subject: [PATCH] Reduced redundant type declarations --- src/com/mikeplate/counter/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/mikeplate/counter/MainActivity.java b/src/com/mikeplate/counter/MainActivity.java index 4c6f715..4138753 100644 --- a/src/com/mikeplate/counter/MainActivity.java +++ b/src/com/mikeplate/counter/MainActivity.java @@ -31,7 +31,7 @@ public void onCreate(Bundle savedInstanceState) { setContentView(R.layout.main); openCount(); - _countView = (TextView)findViewById(R.id.count); + _countView = findViewById(R.id.count); _countView.setText(Integer.toString(_count)); }