remove an unnecessary return statement
This commit is contained in:
parent
c6aae26f94
commit
9f4fc90a37
|
@ -103,10 +103,8 @@ public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
@OnClick(R.id.btn_equals)
|
@OnClick(R.id.btn_equals)
|
||||||
public void equalsClicked() {
|
public void equalsClicked() {
|
||||||
if (lastKey == EQUALS) {
|
if (lastKey == EQUALS)
|
||||||
calculateResult();
|
calculateResult();
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (lastKey != DIGIT)
|
if (lastKey != DIGIT)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue