From: Damyan Ivanov Date: Fri, 30 Nov 2018 19:55:57 +0000 (+0000) Subject: remove redundant type-cast X-Git-Tag: v0.3~367 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=a8840644868cc402b23a0e233847479aada0b0c9;p=mobile-ledger.git remove redundant type-cast --- diff --git a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java index 8bad687e..0c67506f 100644 --- a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java @@ -26,7 +26,7 @@ public class NewTransactionActivity extends AppCompatActivity { Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); - FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab); + FloatingActionButton fab = findViewById(R.id.fab); fab.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) {