Skip to content

Commit 1277eff

Browse files
authored
Remove spotbugs-annotations (#2320)
we dont seem to be running spotbugs/findbugs in our build, so depending on the annotations is not necessary. also fix name of common-codec lib.
1 parent d7d8990 commit 1277eff

File tree

4 files changed

+3
-8
lines changed

4 files changed

+3
-8
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ awssdk-bom = { module = "software.amazon.awssdk:bom", version = "2.32.19" }
4444
awaitility = { module = "org.awaitility:awaitility", version = "4.3.0" }
4545
azuresdk-bom = { module = "com.azure:azure-sdk-bom", version = "1.2.37" }
4646
caffeine = { module = "com.github.ben-manes.caffeine:caffeine", version = "3.2.2" }
47-
commons-codec1 = { module = "commons-codec:commons-codec", version = "1.19.0" }
47+
commons-codec = { module = "commons-codec:commons-codec", version = "1.19.0" }
4848
commons-lang3 = { module = "org.apache.commons:commons-lang3", version = "3.18.0" }
4949
commons-text = { module = "org.apache.commons:commons-text", version = "1.14.0" }
5050
eclipselink = { module = "org.eclipse.persistence:eclipselink", version = "4.0.7" }
@@ -91,7 +91,6 @@ slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
9191
smallrye-common-annotation = { module = "io.smallrye.common:smallrye-common-annotation", version = "2.13.8" }
9292
smallrye-config-core = { module = "io.smallrye.config:smallrye-config-core", version = "3.13.4" }
9393
spark35-sql-scala212 = { module = "org.apache.spark:spark-sql_2.12", version.ref = "spark35" }
94-
spotbugs-annotations = { module = "com.github.spotbugs:spotbugs-annotations", version = "4.9.4" }
9594
swagger-annotations = { module = "io.swagger:swagger-annotations", version.ref = "swagger" }
9695
swagger-jaxrs = { module = "io.swagger:swagger-jaxrs", version.ref = "swagger" }
9796
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.21.3" }
@@ -102,4 +101,4 @@ jandex = { id = "org.kordamp.gradle.jandex", version = "2.2.0" }
102101
openapi-generator = { id = "org.openapi.generator", version = "7.12.0" }
103102
quarkus = { id = "io.quarkus", version.ref = "quarkus" }
104103
rat = { id = "org.nosphere.apache.rat", version = "0.8.1" }
105-
jetbrains-changelog = { id = "org.jetbrains.changelog", version = "2.4.0"}
104+
jetbrains-changelog = { id = "org.jetbrains.changelog", version = "2.4.0"}

polaris-core/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ dependencies {
4343

4444
implementation(libs.caffeine)
4545
implementation(libs.commons.lang3)
46-
implementation(libs.commons.codec1)
46+
implementation(libs.commons.codec)
4747
implementation(libs.guava)
4848
implementation(libs.slf4j.api)
49-
compileOnly(libs.spotbugs.annotations)
5049

5150
compileOnly(project(":polaris-immutables"))
5251
annotationProcessor(project(":polaris-immutables", configuration = "processor"))

polaris-core/src/main/java/org/apache/polaris/core/persistence/transactional/TransactionalMetaStoreManagerImpl.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*/
1919
package org.apache.polaris.core.persistence.transactional;
2020

21-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
2221
import jakarta.annotation.Nonnull;
2322
import jakarta.annotation.Nullable;
2423
import java.time.Clock;
@@ -86,7 +85,6 @@
8685
* Default implementation of the Polaris Meta Store Manager. Uses the underlying meta store to store
8786
* and retrieve all Polaris metadata
8887
*/
89-
@SuppressFBWarnings("NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE")
9088
public class TransactionalMetaStoreManagerImpl extends BaseMetaStoreManager {
9189
private static final Logger LOGGER =
9290
LoggerFactory.getLogger(TransactionalMetaStoreManagerImpl.class);

runtime/service/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ dependencies {
9393
implementation(libs.microprofile.fault.tolerance.api)
9494

9595
compileOnly(libs.jakarta.annotation.api)
96-
compileOnly(libs.spotbugs.annotations)
9796

9897
implementation(platform(libs.google.cloud.storage.bom))
9998
implementation("com.google.cloud:google-cloud-storage")

0 commit comments

Comments
 (0)