File tree 3 files changed +9
-0
lines changed
core/src/main/java/org/kohsuke/stapler
3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 23
23
24
24
package org .kohsuke .stapler ;
25
25
26
+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
26
27
import java .util .StringTokenizer ;
27
28
import java .io .ByteArrayOutputStream ;
28
29
import java .nio .charset .StandardCharsets ;
@@ -46,6 +47,7 @@ public final class TokenList {
46
47
/**
47
48
* Index of the next token.
48
49
*/
50
+ @ SuppressFBWarnings (value ="PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification ="Preserve API compatibility" )
49
51
public int idx ;
50
52
51
53
/**
Original file line number Diff line number Diff line change 1
1
package org .kohsuke .stapler .export ;
2
2
3
+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
4
+
3
5
/**
4
6
* Controls the output behaviour.
5
7
*
@@ -11,6 +13,7 @@ public class ExportConfig {
11
13
* Use getter and setter
12
14
*/
13
15
@ Deprecated
16
+ @ SuppressFBWarnings (value ="PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification ="Preserve API compatibility" )
14
17
public boolean prettyPrint ;
15
18
16
19
private ClassAttributeBehaviour classAttribute = ClassAttributeBehaviour .IF_NEEDED ;
Original file line number Diff line number Diff line change 46
46
<scmTag >HEAD</scmTag >
47
47
<jetty .version>10.0.18</jetty .version>
48
48
<gitHubRepo >jenkinsci/stapler</gitHubRepo >
49
+ <!-- TODO: Remove when parent pom is using this version or newer -->
50
+ <!-- https://github.com/jenkinsci/pom/pull/510 -->
51
+ <spotbugs-maven-plugin .version>4.8.2.0</spotbugs-maven-plugin .version>
52
+ <spotbugs .omitVisitors>FindReturnRef,ConstructorThrow</spotbugs .omitVisitors>
49
53
</properties >
50
54
51
55
<dependencyManagement >
You can’t perform that action at this time.
0 commit comments