Skip to content

Commit 118270d

Browse files
chore(deps): update dependency com.github.spotbugs:spotbugs to v4.9.8 (#1575)
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Schrottner <simon.schrottner@dynatrace.com>
1 parent 68cae2a commit 118270d

File tree

7 files changed

+6
-14
lines changed

7 files changed

+6
-14
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<!-- used so that lombok can generate suppressions for spotbugs. It needs to find it on the relevant classpath -->
118118
<groupId>com.github.spotbugs</groupId>
119119
<artifactId>spotbugs</artifactId>
120-
<version>4.8.6</version>
120+
<version>4.9.8</version>
121121
<scope>provided</scope>
122122
</dependency>
123123

@@ -467,7 +467,7 @@
467467
<dependency>
468468
<groupId>com.github.spotbugs</groupId>
469469
<artifactId>spotbugs</artifactId>
470-
<version>4.9.0</version>
470+
<version>4.9.8</version>
471471
</dependency>
472472
</dependencies>
473473
<executions>

providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/common/QueueingStreamObserver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111
@Slf4j
1212
@SuppressFBWarnings(
13-
value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"},
13+
value = {"EI_EXPOSE_REP"},
1414
justification = "Internal class")
1515
public class QueueingStreamObserver<T> implements StreamObserver<T> {
1616
private final BlockingQueue<StreamResponseModel<T>> blockingQueue;

providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/model/FlagParser.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import com.networknt.schema.JsonSchemaFactory;
1010
import com.networknt.schema.SpecVersion;
1111
import com.networknt.schema.ValidationMessage;
12-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
1312
import java.io.IOException;
1413
import java.net.URI;
1514
import java.util.HashMap;
@@ -23,9 +22,6 @@
2322

2423
/** flagd feature flag configuration parser. */
2524
@Slf4j
26-
@SuppressFBWarnings(
27-
value = {"EI_EXPOSE_REP"},
28-
justification = "Feature flag comes as a Json configuration, hence they must be exposed")
2925
public class FlagParser {
3026
private static final String FLAG_KEY = "flags";
3127
private static final String METADATA_KEY = "metadata";

providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/storage/connector/sync/SyncStreamQueueSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
@Slf4j
3434
@SuppressFBWarnings(
35-
value = {"PREDICTABLE_RANDOM", "EI_EXPOSE_REP"},
35+
value = {"EI_EXPOSE_REP"},
3636
justification = "Random is used to generate a variation & flag configurations require exposing")
3737
public class SyncStreamQueueSource implements QueueSource {
3838
private static final int QUEUE_SIZE = 5;

providers/flagsmith/src/main/java/dev.openfeature.contrib.providers.flagsmith/FlagsmithProviderOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
/** FlagsmithProviderOptions contains the options to initialise the Flagsmith provider. */
1717
@SuppressFBWarnings(
18-
value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"},
18+
value = {"EI_EXPOSE_REP"},
1919
justification = "The headers need to be mutable")
2020
@Builder(toBuilder = true)
2121
@Getter

tools/flagd-http-connector/src/main/java/dev/openfeature/contrib/tools/flagd/resolver/process/storage/connector/sync/http/HttpConnectorOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* Represents configuration options for the HTTP connector.
2020
*/
2121
@SuppressFBWarnings(
22-
value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2", "CT_CONSTRUCTOR_THROW"},
22+
value = {"EI_EXPOSE_REP", "CT_CONSTRUCTOR_THROW"},
2323
justification = "builder validations")
2424
@Slf4j
2525
@Getter

tools/flagd-http-connector/src/main/java/dev/openfeature/contrib/tools/flagd/resolver/process/storage/connector/sync/http/PayloadCacheOptions.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package dev.openfeature.contrib.tools.flagd.resolver.process.storage.connector.sync.http;
22

3-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
43
import lombok.Builder;
54
import lombok.Getter;
65

@@ -16,9 +15,6 @@
1615
* corner cases.
1716
* </p>
1817
*/
19-
@SuppressFBWarnings(
20-
value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"},
21-
justification = "builder validations")
2218
@Builder
2319
@Getter
2420
public class PayloadCacheOptions {

0 commit comments

Comments
 (0)