Skip to content

Commit 1d20b7a

Browse files
author
Jesko Steinberg
committed
chore: suppress spotbugs warnings for AutoMerge
1 parent 76c04e0 commit 1d20b7a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/org/kohsuke/github/GHPullRequest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -659,6 +659,7 @@ public static class AutoMerge {
659659
*
660660
* @return the {@linkplain GHUser}
661661
*/
662+
@SuppressFBWarnings(value = { "EI_EXPOSE_REP" }, justification = "Expected behavior")
662663
public GHUser getEnabledBy() {
663664
return enabled_by;
664665
}
@@ -668,6 +669,7 @@ public GHUser getEnabledBy() {
668669
*
669670
* @return the {@linkplain MergeMethod}
670671
*/
672+
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Field comes from JSON deserialization")
671673
public MergeMethod getMergeMethod() {
672674
return merge_method;
673675
}
@@ -677,6 +679,7 @@ public MergeMethod getMergeMethod() {
677679
*
678680
* @return the title of the commit
679681
*/
682+
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Field comes from JSON deserialization")
680683
public String getCommitTitle() {
681684
return commit_title;
682685
}
@@ -686,6 +689,7 @@ public String getCommitTitle() {
686689
*
687690
* @return the message of the commit
688691
*/
692+
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "Field comes from JSON deserialization")
689693
public String getCommitMessage() {
690694
return commit_message;
691695
}

0 commit comments

Comments
 (0)