From 5cfc659887b03f40522c45e092ab8bc0823ae2b6 Mon Sep 17 00:00:00 2001 From: Klaus Kiefer Date: Wed, 11 Oct 2023 07:44:51 +0200 Subject: [PATCH 1/3] fix sonar issue: Utility classes should not have public constructors (#2533) --- .../org/cloudfoundry/identity/uaa/metrics/MetricsUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/metrics-data/src/main/java/org/cloudfoundry/identity/uaa/metrics/MetricsUtil.java b/metrics-data/src/main/java/org/cloudfoundry/identity/uaa/metrics/MetricsUtil.java index c88b8ffcbe6..0e1016a514a 100644 --- a/metrics-data/src/main/java/org/cloudfoundry/identity/uaa/metrics/MetricsUtil.java +++ b/metrics-data/src/main/java/org/cloudfoundry/identity/uaa/metrics/MetricsUtil.java @@ -18,6 +18,11 @@ public class MetricsUtil { public static final String GLOBAL_GROUP = "uaa.global.metrics"; + // Utility classes should not have public constructors + private MetricsUtil() { + throw new IllegalStateException("Utility class"); + } + public static double addAverages(double oldCount, double oldAverage, double newCount, From 9c57085039ed4a1f8e9f0cc4d061b781112b5a97 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 22:53:44 +0200 Subject: [PATCH 2/3] build(deps): bump versions.guavaVersion from 32.1.2-jre to 32.1.3-jre (#2534) Bumps `versions.guavaVersion` from 32.1.2-jre to 32.1.3-jre. Updates `com.google.guava:guava` from 32.1.2-jre to 32.1.3-jre - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) Updates `com.google.guava:guava-testlib` from 32.1.2-jre to 32.1.3-jre - [Release notes](https://github.com/google/guava/releases) - [Commits](https://github.com/google/guava/commits) --- updated-dependencies: - dependency-name: com.google.guava:guava dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.google.guava:guava-testlib dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index df1b67fdcaa..a50c71d862e 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -13,7 +13,7 @@ versions.springSecurityJwtVersion = "1.1.1.RELEASE" versions.springSecurityOAuthVersion = "2.5.2.RELEASE" versions.springSecuritySamlVersion = "1.0.10.RELEASE" versions.tomcatCargoVersion = "9.0.80" -versions.guavaVersion = "32.1.2-jre" +versions.guavaVersion = "32.1.3-jre" versions.seleniumVersion = "4.13.0" versions.braveVersion = "5.16.0" From 319cc75bd61422cc17ca4ea26e0a7ab18cddf882 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 08:37:40 +0200 Subject: [PATCH 3/3] build(deps): bump org.apache.directory.api:api-ldap-model (#2536) Bumps org.apache.directory.api:api-ldap-model from 2.1.4 to 2.1.5. --- updated-dependencies: - dependency-name: org.apache.directory.api:api-ldap-model dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies.gradle b/dependencies.gradle index a50c71d862e..df0a723b4ea 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -34,7 +34,7 @@ libraries.apacheCommonsRngCore = "org.apache.commons:commons-rng-core:1.5" libraries.apacheCommonsRngSimple = "org.apache.commons:commons-rng-simple:1.5" libraries.apacheCommonsText = "org.apache.commons:commons-text:1.10.0" libraries.apacheDsProtocolLdap = "org.apache.directory.server:apacheds-protocol-ldap:${versions.apacheDsVersion}" -libraries.apacheLdapApi = "org.apache.directory.api:api-ldap-model:2.1.4" +libraries.apacheLdapApi = "org.apache.directory.api:api-ldap-model:2.1.5" libraries.aspectJRt = "org.aspectj:aspectjrt" libraries.aspectJWeaver = "org.aspectj:aspectjweaver" libraries.bouncyCastlePkix = "org.bouncycastle:bcpkix-jdk18on:${versions.bouncyCastleVersion}"