From 2bba456716f97113b7cefc1fba74cf9210c4e127 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 29 Mar 2019 12:45:23 +0200 Subject: [PATCH] whitespace --- .../ktnx/mobileledger/ui/activity/NewTransactionActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.39.5