Skip to content

Commit

Permalink
Ignore spotbugs warning in GetResult.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertIndie committed Jan 25, 2021
1 parent 21de604 commit 7613ed1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class GetResult {
/**
* The value of the key stored.
*/
public final byte[] value;
private final byte[] value;

/**
* The {@link Stat} object associated with the value.
Expand Down
4 changes: 4 additions & 0 deletions pulsar-metadata/src/test/resources/findbugsExclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@
-->
<FindBugsFilter>
<Match>
<Class name="org.apache.pulsar.metadata.api.GetResult" />
<Bug pattern="EI_EXPOSE_REP,EI_EXPOSE_REP2" />
</Match>
</FindBugsFilter>

0 comments on commit 7613ed1

Please sign in to comment.