From f8190806fffcf824f4ae3fba44f37ac8295f978c Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Fri, 19 Apr 2019 20:25:53 +0300 Subject: [PATCH] override the weaker access warning the similar method accepting profile object is public and is used in the wild, so maybe this one would also be used one day --- app/src/main/java/net/ktnx/mobileledger/model/Data.java | 1 + 1 file changed, 1 insertion(+) 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 d183c4c8..27eac04f 100644 --- a/app/src/main/java/net/ktnx/mobileledger/model/Data.java +++ b/app/src/main/java/net/ktnx/mobileledger/model/Data.java @@ -69,6 +69,7 @@ public final class Data { return -1; } } + @SuppressWarnings("WeakerAccess") public static int getProfileIndex(String profileUUID) { try (LockHolder ignored = profiles.lockForReading()) { for (int i = 0; i < profiles.size(); i++) { -- 2.39.5