Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.jenkinsci.plugins.pipeline.modeldefinition.ast;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import net.sf.json.JSONArray;
import org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator;

Expand All @@ -14,7 +13,6 @@
* @author Kohsuke Kawaguchi
* @author Andrew Bayer
*/
@SuppressFBWarnings(value = "SE_NO_SERIALVERSIONID")
public final class ModelASTNamedArgumentList extends ModelASTArgumentList {
private Map<ModelASTKey, ModelASTValue> arguments = new LinkedHashMap<>();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.jenkinsci.plugins.pipeline.modeldefinition.ast;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.model.Describable;
import hudson.model.Descriptor;
import net.sf.json.JSONObject;
Expand All @@ -21,7 +20,6 @@
* @author Kohsuke Kawaguchi
* @author Andrew Bayer
*/
@SuppressFBWarnings(value = "SE_NO_SERIALVERSIONID")
public class ModelASTStep extends ModelASTElement {
/**
* @deprecated since 1.2-beta-4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

package org.jenkinsci.plugins.pipeline.modeldefinition.ast;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import net.sf.json.JSONObject;
import org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator;

Expand All @@ -35,7 +34,6 @@
/**
* @author Andrew Bayer
*/
@SuppressFBWarnings(value = "SE_NO_SERIALVERSIONID")
public class ModelASTWhenCondition extends ModelASTElement implements ModelASTWhenContent {
private String name;
private ModelASTArgumentList args;
Expand Down
13 changes: 13 additions & 0 deletions pipeline-model-definition/src/spotbugs/excludesFilter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- TODO pending #765 etc., NoteSuppressedWarnings apparently gets confused by Groovy sources -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<FindBugsFilter>
<Match>
<Or>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.Utils"/>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.model.MappedClosure"/>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.parser.Converter"/>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.parser.ModelParser"/>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.parser.RuntimeASTTransformer"/>
<Class name="org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidatorImpl"/>
</Or>
</Match>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>5.7</version>
<version>5.9</version>
<relativePath />
</parent>

Expand Down