diff --git a/api/src/main/java/de/adorsys/keymanagement/api/types/template/generated/KeyPairEncryptionTemplate.java b/api/src/main/java/de/adorsys/keymanagement/api/types/template/generated/KeyPairEncryptionTemplate.java index 3279517..867a610 100644 --- a/api/src/main/java/de/adorsys/keymanagement/api/types/template/generated/KeyPairEncryptionTemplate.java +++ b/api/src/main/java/de/adorsys/keymanagement/api/types/template/generated/KeyPairEncryptionTemplate.java @@ -28,6 +28,7 @@ public interface ExcludeToBuilder { KeyPairEncryptionTemplate toBuilder(); } + @SuppressWarnings("checkstyle:ParameterNumber") // Is a builder method static KeyPairEncryptionTemplate of(String algo, Integer size, String sigAlgo, String commonName, AlgorithmParameterSpec paramSpec) { KeyPairEncryptionTemplate result = KeyPairEncryptionTemplate.builder().build(); diff --git a/core/src/main/java/de/adorsys/keymanagement/core/view/EntryViewImpl.java b/core/src/main/java/de/adorsys/keymanagement/core/view/EntryViewImpl.java index 96c7c61..392ef5d 100644 --- a/core/src/main/java/de/adorsys/keymanagement/core/view/EntryViewImpl.java +++ b/core/src/main/java/de/adorsys/keymanagement/core/view/EntryViewImpl.java @@ -25,7 +25,6 @@ import java.util.Collection; import java.util.Map; -import java.util.stream.Collectors; import static com.googlecode.cqengine.query.QueryFactory.and; import static com.googlecode.cqengine.query.QueryFactory.attribute; @@ -53,7 +52,8 @@ public class EntryViewImpl extends BaseUpdatingView, KeyEntry> i "is_meta", IS_META, "is_private", attribute(KeyEntry.class, Boolean.class, "is_private", KeyEntry::isPrivate), "is_secret", attribute(KeyEntry.class, Boolean.class, "is_secret", KeyEntry::isSecret), - "is_trusted_cert", attribute(KeyEntry.class, Boolean.class, "is_trusted_cert", KeyEntry::isTrustedCert) + "is_trusted_cert", attribute(KeyEntry.class, Boolean.class, "is_trusted_cert", + KeyEntry::isTrustedCert) ) ); @@ -75,7 +75,7 @@ public EntryViewImpl(KeySource source, Query viewFilter, Collection new KeyEntry(it.getKey(), source.asEntry(it.getKey()))) - .collect(Collectors.toList()) + .toList() ); this.keys.addIndex(RadixTreeIndex.onAttribute(A_ID)); diff --git a/pom.xml b/pom.xml index 330ac77..bf7ee79 100644 --- a/pom.xml +++ b/pom.xml @@ -60,13 +60,11 @@ none src/main/java src/test/java - - ${basedir}/../../target/jacoco.exec - + ${maven.multiModuleProjectDirectory}/target/jacoco.exec 3.12.1 3.6.1 1.18.30 - 1.74 + 1.77 2.50 5.10.2 4.11.1 @@ -108,12 +106,12 @@ org.bouncycastle - bcpkix-jdk15to18 + bcpkix-jdk18on ${bouncycastle.version} org.bouncycastle - bcprov-jdk15to18 + bcprov-jdk18on ${bouncycastle.version} @@ -372,10 +370,9 @@ ${checkstyle-plugin.version} checkstyle.xml - UTF-8 true false - false + false @@ -457,7 +454,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + ${nexus-staging-maven-plugin.version} true sonatype @@ -483,11 +480,6 @@ maven-gpg-plugin ${maven-gpg-plugin.version} - opensource@adorsys.de - - --pinentry-mode - loopback - @@ -496,12 +488,6 @@ sign - - - --pinentry-mode - loopback - -