Skip to content

Commit

Permalink
feat: excluding auto-generated code from SpotBugs maven plugin
Browse files Browse the repository at this point in the history
Signed-off-by: castlighting <[email protected]>
  • Loading branch information
castlighting committed Dec 25, 2024
1 parent 617a9f7 commit 1ff276a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ci/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
<Match>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
</Match>

<!-- Exclude gRPC auto-generated classes -->
<Match>
<Package name="io.opengemini.client.proto"/>
</Match>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion opengemini-client/src/main/proto/write.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";
package proto;
option java_multiple_files = true;
option java_package = "io.opengemini.client.grpc";
option java_package = "io.opengemini.client.proto";
option java_outer_classname = "WriteProto";

// WriteService represents a openGemini RPC write service.
Expand Down

0 comments on commit 1ff276a

Please sign in to comment.