From fbadb0e6e62d1959351b2dc81fc865201913361b Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 3 Apr 2019 00:13:13 +0300 Subject: [PATCH] whitespace --- .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 4 ++-- .../ui/transaction_list/TransactionListFragment.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index ffac1ecf..77a56c35 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -420,9 +420,9 @@ public class MainActivity extends ProfileThemedActivity { profile = MobileLedgerProfile.loadAllFromDB(profileUUID); } else { - try(LockHolder lh = Data.profiles.lockForReading()) { + try (LockHolder lh = Data.profiles.lockForReading()) { int i = Data.getProfileIndex(profileUUID); - if (i == -1 ) i = 0; + if (i == -1) i = 0; profile = Data.profiles.get(i); } } diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java index d3942852..ea57ab7c 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListFragment.java @@ -147,8 +147,7 @@ public class TransactionListFragment extends MobileLedgerListFragment { mActivity.scheduleTransactionListRetrieval(); }); - Colors.themeWatch.addObserver( - (o, arg) -> swiper.setColorSchemeColors(Colors.primary)); + Colors.themeWatch.addObserver((o, arg) -> swiper.setColorSchemeColors(Colors.primary)); swiper.setColorSchemeColors(Colors.primary); vAccountFilter = mActivity.findViewById(R.id.transaction_list_account_name_filter); -- 2.39.5