File tree 29 files changed +23
-103
lines changed
29 files changed +23
-103
lines changed Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >org.jenkins-ci.plugins</groupId >
7
7
<artifactId >plugin</artifactId >
8
- <version >5.8 </version >
8
+ <version >5.9 </version >
9
9
<relativePath />
10
10
</parent >
11
11
Original file line number Diff line number Diff line change 20
20
import org .kohsuke .stapler .StaplerRequest2 ;
21
21
22
22
import edu .umd .cs .findbugs .annotations .NonNull ;
23
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
24
23
import jakarta .servlet .ServletException ;
25
24
import java .io .IOException ;
26
25
import java .io .Serial ;
@@ -98,9 +97,7 @@ public String getDisplayName() {
98
97
}
99
98
100
99
@ Override
101
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
102
- justification = "Inherited javadoc commits that req is non-null" )
103
- public AssemblaWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
100
+ public AssemblaWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
104
101
return req .bindJSON (AssemblaWeb .class , jsonObject );
105
102
}
106
103
Original file line number Diff line number Diff line change 11
11
import org .kohsuke .stapler .StaplerRequest2 ;
12
12
13
13
import edu .umd .cs .findbugs .annotations .NonNull ;
14
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
15
14
import java .io .IOException ;
16
15
import java .io .Serial ;
17
16
import java .net .URL ;
@@ -81,9 +80,7 @@ public String getDisplayName() {
81
80
}
82
81
83
82
@ Override
84
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
85
- justification = "Inherited javadoc commits that req is non-null" )
86
- public BitbucketServer newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
83
+ public BitbucketServer newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
87
84
return req .bindJSON (BitbucketServer .class , jsonObject );
88
85
}
89
86
}
Original file line number Diff line number Diff line change 11
11
import org .kohsuke .stapler .StaplerRequest2 ;
12
12
13
13
import edu .umd .cs .findbugs .annotations .NonNull ;
14
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
15
14
import java .io .IOException ;
16
15
import java .io .Serial ;
17
16
import java .net .URL ;
@@ -82,9 +81,7 @@ public String getDisplayName() {
82
81
}
83
82
84
83
@ Override
85
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
86
- justification = "Inherited javadoc commits that req is non-null" )
87
- public BitbucketWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
84
+ public BitbucketWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
88
85
return req .bindJSON (BitbucketWeb .class , jsonObject );
89
86
}
90
87
}
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -92,9 +91,7 @@ public String getDisplayName() {
92
91
}
93
92
94
93
@ Override
95
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
96
- justification = "Inherited javadoc commits that req is non-null" )
97
- public CGit newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
94
+ public CGit newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
98
95
return req .bindJSON (CGit .class , jsonObject );
99
96
}
100
97
}
Original file line number Diff line number Diff line change 17
17
import org .kohsuke .stapler .StaplerRequest2 ;
18
18
19
19
import edu .umd .cs .findbugs .annotations .NonNull ;
20
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
21
20
import jakarta .servlet .ServletException ;
22
21
import java .io .IOException ;
23
22
import java .io .Serial ;
@@ -79,9 +78,7 @@ public String getDisplayName() {
79
78
}
80
79
81
80
@ Override
82
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
83
- justification = "Inherited javadoc commits that req is non-null" )
84
- public FisheyeGitRepositoryBrowser newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
81
+ public FisheyeGitRepositoryBrowser newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
85
82
return req .bindJSON (FisheyeGitRepositoryBrowser .class , jsonObject );
86
83
}
87
84
Original file line number Diff line number Diff line change 20
20
import org .kohsuke .stapler .StaplerRequest2 ;
21
21
22
22
import edu .umd .cs .findbugs .annotations .NonNull ;
23
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
24
23
import jakarta .servlet .ServletException ;
25
24
import java .io .IOException ;
26
25
import java .io .Serial ;
@@ -90,9 +89,7 @@ public String getDisplayName() {
90
89
}
91
90
92
91
@ Override
93
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
94
- justification = "Inherited javadoc commits that req is non-null" )
95
- public GitBlitRepositoryBrowser newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
92
+ public GitBlitRepositoryBrowser newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
96
93
return req .bindJSON (GitBlitRepositoryBrowser .class , jsonObject );
97
94
}
98
95
Original file line number Diff line number Diff line change 19
19
import java .net .URL ;
20
20
21
21
import edu .umd .cs .findbugs .annotations .NonNull ;
22
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
23
22
import jakarta .servlet .ServletException ;
24
23
25
24
import org .kohsuke .stapler .QueryParameter ;
@@ -145,9 +144,7 @@ public String getDisplayName() {
145
144
}
146
145
147
146
@ Override
148
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
149
- justification = "Inherited javadoc commits that req is non-null" )
150
- public GitLab newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
147
+ public GitLab newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
151
148
return req .bindJSON (GitLab .class , jsonObject );
152
149
}
153
150
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -94,9 +93,7 @@ public String getDisplayName() {
94
93
}
95
94
96
95
@ Override
97
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
98
- justification = "Inherited javadoc commits that req is non-null" )
99
- public GitList newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
96
+ public GitList newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
100
97
return req .bindJSON (GitList .class , jsonObject );
101
98
}
102
99
}
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -94,9 +93,7 @@ public String getDisplayName() {
94
93
}
95
94
96
95
@ Override
97
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
98
- justification = "Inherited javadoc commits that req is non-null" )
99
- public GitWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
96
+ public GitWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
100
97
return req .bindJSON (GitWeb .class , jsonObject );
101
98
}
102
99
}
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -100,9 +99,7 @@ public String getDisplayName() {
100
99
}
101
100
102
101
@ Override
103
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
104
- justification = "Inherited javadoc commits that req is non-null" )
105
- public GithubWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
102
+ public GithubWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
106
103
return req .bindJSON (GithubWeb .class , jsonObject );
107
104
}
108
105
}
Original file line number Diff line number Diff line change 17
17
import java .net .URL ;
18
18
19
19
import edu .umd .cs .findbugs .annotations .NonNull ;
20
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
21
20
import jakarta .servlet .ServletException ;
22
21
23
22
import net .sf .json .JSONObject ;
@@ -72,9 +71,7 @@ public String getDisplayName() {
72
71
}
73
72
74
73
@ Override
75
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
76
- justification = "Inherited javadoc commits that req is non-null" )
77
- public Gitiles newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
74
+ public Gitiles newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
78
75
return req .bindJSON (Gitiles .class , jsonObject );
79
76
}
80
77
Original file line number Diff line number Diff line change 11
11
import org .kohsuke .stapler .StaplerRequest2 ;
12
12
13
13
import edu .umd .cs .findbugs .annotations .NonNull ;
14
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
15
14
import java .io .IOException ;
16
15
import java .io .Serial ;
17
16
import java .net .URL ;
@@ -76,9 +75,7 @@ public String getDisplayName() {
76
75
}
77
76
78
77
@ Override
79
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
80
- justification = "Inherited javadoc commits that req is non-null" )
81
- public GitoriousWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
78
+ public GitoriousWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
82
79
return req .bindJSON (GitoriousWeb .class , jsonObject );
83
80
}
84
81
}
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -102,9 +101,7 @@ public String getDisplayName() {
102
101
}
103
102
104
103
@ Override
105
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
106
- justification = "Inherited javadoc commits that req is non-null" )
107
- public GogsGit newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
104
+ public GogsGit newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
108
105
return req .bindJSON (GogsGit .class , jsonObject );
109
106
}
110
107
}
Original file line number Diff line number Diff line change 14
14
import org .kohsuke .stapler .StaplerRequest2 ;
15
15
16
16
import edu .umd .cs .findbugs .annotations .NonNull ;
17
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
18
17
import java .io .IOException ;
19
18
import java .io .Serial ;
20
19
import java .net .URL ;
@@ -113,9 +112,7 @@ public String getDisplayName() {
113
112
}
114
113
115
114
@ Override
116
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
117
- justification = "Inherited javadoc commits that req is non-null" )
118
- public KilnGit newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
115
+ public KilnGit newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
119
116
return req .bindJSON (KilnGit .class , jsonObject );
120
117
}
121
118
}
Original file line number Diff line number Diff line change 11
11
import org .kohsuke .stapler .StaplerRequest2 ;
12
12
13
13
import edu .umd .cs .findbugs .annotations .NonNull ;
14
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
15
14
import java .io .IOException ;
16
15
import java .io .Serial ;
17
16
import java .net .URL ;
@@ -92,9 +91,7 @@ public String getDisplayName() {
92
91
}
93
92
94
93
@ Override
95
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
96
- justification = "Inherited javadoc commits that req is non-null" )
97
- public Phabricator newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
94
+ public Phabricator newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
98
95
return req .bindJSON (Phabricator .class , jsonObject );
99
96
}
100
97
}
Original file line number Diff line number Diff line change 12
12
import org .kohsuke .stapler .StaplerRequest2 ;
13
13
14
14
import edu .umd .cs .findbugs .annotations .NonNull ;
15
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
16
15
import java .io .IOException ;
17
16
import java .io .Serial ;
18
17
import java .net .URL ;
@@ -95,9 +94,7 @@ public String getDisplayName() {
95
94
}
96
95
97
96
@ Override
98
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
99
- justification = "Inherited javadoc commits that req is non-null" )
100
- public RedmineWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
97
+ public RedmineWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
101
98
return req .bindJSON (RedmineWeb .class , jsonObject );
102
99
}
103
100
}
Original file line number Diff line number Diff line change 13
13
import org .kohsuke .stapler .StaplerRequest2 ;
14
14
15
15
import edu .umd .cs .findbugs .annotations .NonNull ;
16
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
17
16
import java .io .IOException ;
18
17
import java .io .Serial ;
19
18
import java .net .URL ;
@@ -97,9 +96,7 @@ public String getDisplayName() {
97
96
}
98
97
99
98
@ Override
100
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
101
- justification = "Inherited javadoc commits that req is non-null" )
102
- public RhodeCode newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
99
+ public RhodeCode newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
103
100
return req .bindJSON (RhodeCode .class , jsonObject );
104
101
}
105
102
}
Original file line number Diff line number Diff line change 12
12
import org .kohsuke .stapler .StaplerRequest2 ;
13
13
14
14
import edu .umd .cs .findbugs .annotations .NonNull ;
15
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
16
15
import java .io .IOException ;
17
16
import java .io .Serial ;
18
17
import java .net .URL ;
@@ -97,9 +96,7 @@ public String getDisplayName() {
97
96
}
98
97
99
98
@ Override
100
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
101
- justification = "Inherited javadoc commits that req is non-null" )
102
- public Stash newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
99
+ public Stash newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
103
100
return req .bindJSON (Stash .class , jsonObject );
104
101
}
105
102
}
Original file line number Diff line number Diff line change 19
19
import org .kohsuke .stapler .StaplerRequest2 ;
20
20
21
21
import edu .umd .cs .findbugs .annotations .NonNull ;
22
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
23
22
import jakarta .servlet .ServletException ;
24
23
import java .io .IOException ;
25
24
import java .net .MalformedURLException ;
@@ -93,9 +92,7 @@ public String getDisplayName() {
93
92
}
94
93
95
94
@ Override
96
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
97
- justification = "Inherited javadoc commits that req is non-null" )
98
- public TFS2013GitRepositoryBrowser newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
95
+ public TFS2013GitRepositoryBrowser newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
99
96
try {
100
97
req .getSubmittedForm ();
101
98
} catch (ServletException e ) {
Original file line number Diff line number Diff line change 21
21
import org .kohsuke .stapler .StaplerRequest2 ;
22
22
23
23
import edu .umd .cs .findbugs .annotations .NonNull ;
24
- import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
25
24
import jakarta .servlet .ServletException ;
26
25
import java .io .IOException ;
27
26
import java .io .Serial ;
@@ -91,9 +90,7 @@ public String getDisplayName() {
91
90
}
92
91
93
92
@ Override
94
- @ SuppressFBWarnings (value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE" ,
95
- justification = "Inherited javadoc commits that req is non-null" )
96
- public ViewGitWeb newInstance (StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
93
+ public ViewGitWeb newInstance (@ NonNull StaplerRequest2 req , @ NonNull JSONObject jsonObject ) throws FormException {
97
94
return req .bindJSON (ViewGitWeb .class , jsonObject );
98
95
}
99
96
You can’t perform that action at this time.
0 commit comments