diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index df99027c09..deb7292cc8 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -70,6 +70,7 @@ + @@ -215,6 +216,7 @@ + @@ -509,6 +511,14 @@ + + + + + + + + @@ -597,6 +607,14 @@ + + + + + + + + @@ -1139,6 +1157,14 @@ + + + + + + + + @@ -1227,6 +1253,14 @@ + + + + + + + + @@ -1315,6 +1349,14 @@ + + + + + + + + @@ -1403,6 +1445,14 @@ + + + + + + + + @@ -1491,6 +1541,14 @@ + + + + + + + + @@ -1579,6 +1637,14 @@ + + + + + + + + @@ -1667,6 +1733,14 @@ + + + + + + + + @@ -1739,6 +1813,14 @@ + + + + + + + + @@ -1827,6 +1909,14 @@ + + + + + + + + @@ -1915,6 +2005,14 @@ + + + + + + + + @@ -2003,6 +2101,14 @@ + + + + + + + + @@ -2091,6 +2197,14 @@ + + + + + + + + @@ -2179,6 +2293,14 @@ + + + + + + + + @@ -2267,6 +2389,14 @@ + + + + + + + + @@ -2355,6 +2485,14 @@ + + + + + + + + @@ -2395,6 +2533,14 @@ + + + + + + + + @@ -2483,6 +2629,14 @@ + + + + + + + + @@ -2571,6 +2725,14 @@ + + + + + + + + @@ -2659,6 +2821,14 @@ + + + + + + + + @@ -2747,6 +2917,14 @@ + + + + + + + + @@ -2835,6 +3013,14 @@ + + + + + + + + @@ -2923,6 +3109,14 @@ + + + + + + + + @@ -3059,6 +3253,14 @@ + + + + + + + + @@ -3147,6 +3349,14 @@ + + + + + + + + @@ -3235,6 +3445,14 @@ + + + + + + + + @@ -3323,6 +3541,14 @@ + + + + + + + + @@ -3435,6 +3661,14 @@ + + + + + + + + @@ -3523,6 +3757,14 @@ + + + + + + + + @@ -3611,6 +3853,14 @@ + + + + + + + + @@ -3683,6 +3933,14 @@ + + + + + + + + @@ -3755,6 +4013,14 @@ + + + + + + + + @@ -3827,6 +4093,14 @@ + + + + + + + + @@ -3915,6 +4189,14 @@ + + + + + + + + @@ -3987,6 +4269,14 @@ + + + + + + + + @@ -4059,6 +4349,14 @@ + + + + + + + + @@ -4131,6 +4429,14 @@ + + + + + + + + @@ -4203,6 +4509,14 @@ + + + + + + + + @@ -4291,6 +4605,14 @@ + + + + + + + + @@ -4379,6 +4701,14 @@ + + + + + + + + @@ -4467,6 +4797,14 @@ + + + + + + + + @@ -4555,6 +4893,14 @@ + + + + + + + + @@ -4643,6 +4989,14 @@ + + + + + + + + @@ -4731,6 +5085,14 @@ + + + + + + + + @@ -4771,6 +5133,14 @@ + + + + + + + + @@ -4811,6 +5181,14 @@ + + + + + + + + @@ -4899,6 +5277,14 @@ + + + + + + + + @@ -4987,6 +5373,14 @@ + + + + + + + + @@ -5075,6 +5469,14 @@ + + + + + + + + @@ -5163,6 +5565,14 @@ + + + + + + + + @@ -5251,6 +5661,14 @@ + + + + + + + + @@ -5339,6 +5757,14 @@ + + + + + + + + @@ -5427,6 +5853,14 @@ + + + + + + + + @@ -5515,6 +5949,14 @@ + + + + + + + + @@ -5603,6 +6045,14 @@ + + + + + + + + @@ -5691,6 +6141,14 @@ + + + + + + + + @@ -5779,6 +6237,14 @@ + + + + + + + + @@ -6043,6 +6509,14 @@ + + + + + + + + @@ -6131,6 +6605,14 @@ + + + + + + + + @@ -6219,6 +6701,14 @@ + + + + + + + + @@ -6409,16 +6899,31 @@ + + + + + + + + + + + + + + + @@ -6543,6 +7048,14 @@ + + + + + + + + @@ -6551,6 +7064,14 @@ + + + + + + + + @@ -6583,6 +7104,14 @@ + + + + + + + + @@ -6628,6 +7157,14 @@ + + + + + + + + @@ -6724,6 +7261,14 @@ + + + + + + + + @@ -6747,6 +7292,11 @@ + + + + + @@ -6805,11 +7355,27 @@ + + + + + + + + + + + + + + + + @@ -6818,6 +7384,14 @@ + + + + + + + + @@ -6838,16 +7412,31 @@ + + + + + + + + + + + + + + + @@ -6884,6 +7473,12 @@ + + + + + + @@ -6971,6 +7566,11 @@ + + + + + @@ -6987,6 +7587,14 @@ + + + + + + + + @@ -7003,6 +7611,14 @@ + + + + + + + + @@ -7034,6 +7650,11 @@ + + + + + @@ -7579,6 +8200,14 @@ + + + + + + + + @@ -8077,6 +8706,14 @@ + + + + + + + + @@ -8098,6 +8735,14 @@ + + + + + + + + @@ -8114,6 +8759,22 @@ + + + + + + + + + + + + + + + + @@ -8130,6 +8791,14 @@ + + + + + + + + @@ -8146,6 +8815,14 @@ + + + + + + + + @@ -8162,6 +8839,14 @@ + + + + + + + + @@ -8186,6 +8871,22 @@ + + + + + + + + + + + + + + + + @@ -8196,6 +8897,14 @@ + + + + + + + + @@ -8204,6 +8913,14 @@ + + + + + + + + @@ -8212,6 +8929,14 @@ + + + + + + + + @@ -8220,6 +8945,14 @@ + + + + + + + + @@ -8236,6 +8969,14 @@ + + + + + + + + @@ -8252,6 +8993,14 @@ + + + + + + + + @@ -8260,6 +9009,14 @@ + + + + + + + + @@ -8268,6 +9025,14 @@ + + + + + + + + @@ -8284,11 +9049,24 @@ + + + + + + + + + + + + + @@ -8297,6 +9075,14 @@ + + + + + + + + @@ -8305,6 +9091,14 @@ + + + + + + + + @@ -8345,6 +9139,14 @@ + + + + + + + + @@ -8512,6 +9314,14 @@ + + + + + + + + @@ -8569,6 +9379,11 @@ + + + + + @@ -8579,6 +9394,14 @@ + + + + + + + + @@ -8603,6 +9426,14 @@ + + + + + + + + @@ -8656,11 +9487,26 @@ + + + + + + + + + + + + + + + @@ -8669,6 +9515,22 @@ + + + + + + + + + + + + + + + + @@ -8784,11 +9646,21 @@ + + + + + + + + + + @@ -8797,11 +9669,24 @@ + + + + + + + + + + + + + @@ -8810,6 +9695,14 @@ + + + + + + + + @@ -8842,6 +9735,14 @@ + + + + + + + + @@ -8866,6 +9767,14 @@ + + + + + + + + @@ -8890,6 +9799,14 @@ + + + + + + + + @@ -8965,6 +9882,11 @@ + + + + + @@ -10725,11 +11647,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10827,6 +11778,14 @@ + + + + + + + + @@ -10856,6 +11815,14 @@ + + + + + + + + @@ -10892,6 +11859,14 @@ + + + + + + + + @@ -10924,6 +11899,14 @@ + + + + + + + + @@ -10953,6 +11936,14 @@ + + + + + + + + @@ -11006,6 +11997,14 @@ + + + + + + + + @@ -11019,6 +12018,11 @@ + + + + + @@ -11049,6 +12053,11 @@ + + + + + @@ -11062,6 +12071,14 @@ + + + + + + + + @@ -11101,6 +12118,14 @@ + + + + + + + + diff --git a/library/build.gradle b/library/build.gradle index 8559511071..1ca81f937e 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -19,7 +19,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:8.10.1' - classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.13' + classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.2.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.8" classpath "org.jacoco:org.jacoco.core:$jacoco_version" diff --git a/library/src/main/java/com/owncloud/android/lib/common/network/AdvancedX509KeyManager.java b/library/src/main/java/com/owncloud/android/lib/common/network/AdvancedX509KeyManager.java index 7d4304e446..f204ed1954 100644 --- a/library/src/main/java/com/owncloud/android/lib/common/network/AdvancedX509KeyManager.java +++ b/library/src/main/java/com/owncloud/android/lib/common/network/AdvancedX509KeyManager.java @@ -287,8 +287,8 @@ private void removeKeyChain(AKMAlias filter) throws IllegalArgumentException { * @param filter AKMAlias object used as filter * @return all aliases from KEYCHAIN_ALIASES which satisfy alias.matches(filter) */ - private static Collection filterAliases(Collection aliases, AKMAlias filter) { - Collection filtered = new LinkedList<>(); + private static LinkedList filterAliases(Collection aliases, AKMAlias filter) { + LinkedList filtered = new LinkedList<>(); for (Object alias : aliases) { if (new AKMAlias(alias.toString()).matches(filter)) { filtered.add(((String) alias)); @@ -308,7 +308,7 @@ private static Collection filterAliases(Collection aliases, AKMAl private @NonNull String[] getAliases(Set keyTypes, Principal[] issuers, String hostname, Integer port) { // Check keychain aliases AKMAlias filter = new AKMAlias(KEYCHAIN, null, hostname, port); - List validAliases = new LinkedList<>(filterAliases(sharedPreferences.getStringSet(KEYCHAIN_ALIASES, new HashSet<>()), filter)); + List validAliases = filterAliases(sharedPreferences.getStringSet(KEYCHAIN_ALIASES, new HashSet<>()), filter); Log_OC.d(TAG, "getAliases(keyTypes=" + (keyTypes != null ? Arrays.toString(keyTypes.toArray()) : null) + ", issuers=" + Arrays.toString(issuers) diff --git a/library/src/main/java/com/owncloud/android/lib/resources/notifications/GetNotificationRemoteOperation.java b/library/src/main/java/com/owncloud/android/lib/resources/notifications/GetNotificationRemoteOperation.java index 4730e45753..c1ee1a4550 100644 --- a/library/src/main/java/com/owncloud/android/lib/resources/notifications/GetNotificationRemoteOperation.java +++ b/library/src/main/java/com/owncloud/android/lib/resources/notifications/GetNotificationRemoteOperation.java @@ -43,7 +43,6 @@ public GetNotificationRemoteOperation(int id) { this.id = id; } - @SuppressFBWarnings("HTTP_PARAMETER_POLLUTION") @Override public RemoteOperationResult run(NextcloudClient client) { RemoteOperationResult result; diff --git a/sample_client/build.gradle b/sample_client/build.gradle index 7185be334f..62f0ef6808 100644 --- a/sample_client/build.gradle +++ b/sample_client/build.gradle @@ -12,7 +12,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.10.1' - classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.1.13' + classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.2.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.8" classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2 diff --git a/scripts/analysis/findbugs-results.txt b/scripts/analysis/findbugs-results.txt index 2efea5198b..a3090d211b 100644 --- a/scripts/analysis/findbugs-results.txt +++ b/scripts/analysis/findbugs-results.txt @@ -1 +1 @@ -167 \ No newline at end of file +168 \ No newline at end of file