From: Damyan Ivanov Date: Fri, 29 Mar 2019 10:45:23 +0000 (+0200) Subject: whitespace X-Git-Tag: v0.9~41 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2bba456716f97113b7cefc1fba74cf9210c4e127;p=mobile-ledger.git whitespace --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java index 994214a2..f075929d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java @@ -496,7 +496,7 @@ public class NewTransactionActivity extends ProfileThemedActivity String profileUUID = c.getString(0); int transactionId = c.getInt(1); LedgerTransaction tr; - try(LockHolder lh = Data.profiles.lockForReading()) { + try (LockHolder lh = Data.profiles.lockForReading()) { MobileLedgerProfile profile = null; for (int i = 0; i < Data.profiles.size(); i++) { MobileLedgerProfile p = Data.profiles.get(i); @@ -558,7 +558,7 @@ public class NewTransactionActivity extends ProfileThemedActivity return true; } - private class AsyncCrasher extends AsyncTask{ + private class AsyncCrasher extends AsyncTask { @Override protected Void doInBackground(Void... voids) { throw new RuntimeException("Simulated crash");