remove an unnecessary return statement

This commit is contained in:
tibbi 2015-12-24 23:17:08 +01:00
parent c6aae26f94
commit 9f4fc90a37

View file

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