Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,025 changes: 1,025 additions & 0 deletions gradle/verification-metadata.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <T> Collection<String> filterAliases(Collection<T> aliases, AKMAlias filter) {
Collection<String> filtered = new LinkedList<>();
private static <T> LinkedList<String> filterAliases(Collection<T> aliases, AKMAlias filter) {
LinkedList<String> filtered = new LinkedList<>();
for (Object alias : aliases) {
if (new AKMAlias(alias.toString()).matches(filter)) {
filtered.add(((String) alias));
Expand All @@ -308,7 +308,7 @@ private static <T> Collection<String> filterAliases(Collection<T> aliases, AKMAl
private @NonNull String[] getAliases(Set<KeyType> keyTypes, Principal[] issuers, String hostname, Integer port) {
// Check keychain aliases
AKMAlias filter = new AKMAlias(KEYCHAIN, null, hostname, port);
List<String> validAliases = new LinkedList<>(filterAliases(sharedPreferences.getStringSet(KEYCHAIN_ALIASES, new HashSet<>()), filter));
List<String> 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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public GetNotificationRemoteOperation(int id) {
this.id = id;
}

@SuppressFBWarnings("HTTP_PARAMETER_POLLUTION")
@Override
public RemoteOperationResult<Notification> run(NextcloudClient client) {
RemoteOperationResult<Notification> result;
Expand Down
2 changes: 1 addition & 1 deletion sample_client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/analysis/findbugs-results.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
167
168
Loading