Shut up FindBugs

This commit is contained in:
Kohsuke Kawaguchi
2016-06-03 00:09:25 -07:00
parent 7b87de2b4c
commit 50cbf25c72
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
package org.kohsuke.github;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.util.ArrayList;
import java.util.List;
@@ -7,6 +9,7 @@ import java.util.List;
* @author Kohsuke Kawaguchi
* @see GHBranch#disableProtection()
*/
@SuppressFBWarnings(value = {"UWF_UNWRITTEN_FIELD", "NP_UNWRITTEN_FIELD"}, justification = "JSON API")
class BranchProtection {
boolean enabled;
RequiredStatusChecks requiredStatusChecks;