remove an unnecessary return statement
This commit is contained in:
parent
c6aae26f94
commit
9f4fc90a37
1 changed files with 1 additions and 3 deletions
|
@ -103,10 +103,8 @@ public class MainActivity extends AppCompatActivity {
|
|||
|
||||
@OnClick(R.id.btn_equals)
|
||||
public void equalsClicked() {
|
||||
if (lastKey == EQUALS) {
|
||||
if (lastKey == EQUALS)
|
||||
calculateResult();
|
||||
return;
|
||||
}
|
||||
|
||||
if (lastKey != DIGIT)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue