2929import edu .umd .cs .findbugs .annotations .CheckForNull ;
3030import edu .umd .cs .findbugs .annotations .NonNull ;
3131import edu .umd .cs .findbugs .annotations .Nullable ;
32+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
3233import hudson .Extension ;
3334import hudson .Util ;
3435import hudson .model .AbstractDescribableImpl ;
@@ -125,21 +126,25 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
125126 * URL of Jira for normal access, like {@code http://jira.codehaus.org/}.
126127 * Mandatory. Normalized to end with '/'
127128 */
129+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
128130 public URL alternativeUrl ;
129131
130132 /**
131133 * Jira requires HTTP Authentication for login
132134 */
135+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
133136 public boolean useHTTPAuth ;
134137
135138 /**
136139 * The id of the credentials to use. Optional.
137140 */
141+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
138142 public String credentialsId ;
139143
140144 /**
141145 * Jira requires Bearer Authentication for login
142146 */
147+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
143148 public boolean useBearerAuth ;
144149
145150 /**
@@ -159,30 +164,35 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
159164 /**
160165 * Group visibility to constrain the visibility of the added comment. Optional.
161166 */
167+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
162168 public String groupVisibility ;
163169
164170 /**
165171 * Role visibility to constrain the visibility of the added comment. Optional.
166172 */
173+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
167174 public String roleVisibility ;
168175
169176 /**
170177 * True if this Jira is configured to allow Confluence-style Wiki comment.
171178 */
179+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
172180 public boolean supportsWikiStyleComment ;
173181
174182 /**
175183 * to record scm changes in jira issue
176184 *
177185 * @since 1.21
178186 */
187+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
179188 public boolean recordScmChanges ;
180189
181190 /**
182191 * Disable annotating the changelogs
183192 *
184193 * @since todo
185194 */
195+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
186196 public boolean disableChangelogAnnotations ;
187197
188198 /**
@@ -199,23 +209,27 @@ public class JiraSite extends AbstractDescribableImpl<JiraSite> {
199209 *
200210 * @since 1.22
201211 */
212+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
202213 public boolean updateJiraIssueForAllStatus ;
203214
204215 /**
205216 * connection timeout used when calling jira rest api, in seconds
206217 */
218+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
207219 public int timeout = DEFAULT_TIMEOUT ;
208220
209221 /**
210222 * response timeout for jira rest call
211223 * @since 3.0.3
212224 */
225+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
213226 private int readTimeout = DEFAULT_READ_TIMEOUT ;
214227
215228 /**
216229 * thread pool number
217230 * @since 3.0.3
218231 */
232+ @ SuppressFBWarnings (value = "PA_PUBLIC_PRIMITIVE_ATTRIBUTE" , justification = "Backwards compatibility" )
219233 private int threadExecutorNumber = DEFAULT_THREAD_EXECUTOR_NUMBER ;
220234
221235 /**
0 commit comments