From 55f76739da51795c0258fb17a687219e81280d04 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 29 Mar 2019 19:36:07 +0200 Subject: [PATCH] whitespace --- app/src/main/java/net/ktnx/mobileledger/model/Data.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/model/Data.java b/app/src/main/java/net/ktnx/mobileledger/model/Data.java index 1fc4aa06..48555ff0 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/Data.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/Data.java @@ -29,8 +29,7 @@ import java.util.List; public final class Data { public static ObservableList transactions = new ObservableList<>(new ArrayList<>()); - public static ObservableList accounts = - new ObservableList<>(new ArrayList<>()); + public static ObservableList accounts = new ObservableList<>(new ArrayList<>()); public static ObservableAtomicInteger backgroundTaskCount = new ObservableAtomicInteger(0); public static ObservableValue lastUpdateDate = new ObservableValue<>(); public static ObservableValue profile = new ObservableValue<>(); @@ -42,7 +41,7 @@ public final class Data { profile.set(newProfile); } public static int getProfileIndex(MobileLedgerProfile profile) { - try(LockHolder lh = profiles.lockForReading()) { + try (LockHolder lh = profiles.lockForReading()) { for (int i = 0; i < profiles.size(); i++) { MobileLedgerProfile p = profiles.get(i); if (p.equals(profile)) return i; -- 2.39.5