Skip to content

Commit

Permalink
ignore mutability warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Oct 4, 2024
1 parent e5b4605 commit d54e971
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/io/cryostat/agent/model/ServerHealth.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@

import io.cryostat.agent.VersionInfo.Semver;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;

@SuppressFBWarnings(value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
public class ServerHealth {

private static final Pattern VERSION_PATTERN =
Expand Down Expand Up @@ -64,6 +67,7 @@ public BuildInfo buildInfo() {
return build;
}

@SuppressFBWarnings(value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
public static class BuildInfo {
private GitInfo git;

Expand All @@ -82,6 +86,7 @@ public GitInfo git() {
}
}

@SuppressFBWarnings(value = {"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
public static class GitInfo {
private String hash;

Expand Down

0 comments on commit d54e971

Please sign in to comment.