Skip to content

Commit

Permalink
Bump org.jenkins-ci.plugins:plugin from 5.8 to 5.9 (#1730)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Mar 11, 2025
1 parent 343b167 commit cd91b20
Show file tree
Hide file tree
Showing 29 changed files with 23 additions and 103 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>5.8</version>
<version>5.9</version>
<relativePath />
</parent>

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/AssemblaWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;
import java.io.IOException;
import java.io.Serial;
Expand Down Expand Up @@ -98,9 +97,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public AssemblaWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public AssemblaWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(AssemblaWeb.class, jsonObject);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -81,9 +80,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public BitbucketServer newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public BitbucketServer newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(BitbucketServer.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/BitbucketWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -82,9 +81,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public BitbucketWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public BitbucketWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(BitbucketWeb.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/CGit.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -92,9 +91,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public CGit newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public CGit newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(CGit.class, jsonObject);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;
import java.io.IOException;
import java.io.Serial;
Expand Down Expand Up @@ -79,9 +78,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public FisheyeGitRepositoryBrowser newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public FisheyeGitRepositoryBrowser newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(FisheyeGitRepositoryBrowser.class, jsonObject);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;
import java.io.IOException;
import java.io.Serial;
Expand Down Expand Up @@ -90,9 +89,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GitBlitRepositoryBrowser newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GitBlitRepositoryBrowser newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GitBlitRepositoryBrowser.class, jsonObject);
}

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GitLab.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import java.net.URL;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;

import org.kohsuke.stapler.QueryParameter;
Expand Down Expand Up @@ -145,9 +144,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GitLab newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GitLab newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GitLab.class, jsonObject);
}

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GitList.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -94,9 +93,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GitList newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GitList newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GitList.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GitWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -94,9 +93,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GitWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GitWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GitWeb.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GithubWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -100,9 +99,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GithubWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GithubWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GithubWeb.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/Gitiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.net.URL;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;

import net.sf.json.JSONObject;
Expand Down Expand Up @@ -72,9 +71,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public Gitiles newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public Gitiles newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(Gitiles.class, jsonObject);
}

Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GitoriousWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -76,9 +75,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GitoriousWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GitoriousWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GitoriousWeb.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/GogsGit.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -102,9 +101,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public GogsGit newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public GogsGit newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(GogsGit.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/KilnGit.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -113,9 +112,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public KilnGit newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public KilnGit newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(KilnGit.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/Phabricator.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -92,9 +91,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public Phabricator newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public Phabricator newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(Phabricator.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/RedmineWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -95,9 +94,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public RedmineWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public RedmineWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(RedmineWeb.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/RhodeCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -97,9 +96,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public RhodeCode newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public RhodeCode newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(RhodeCode.class, jsonObject);
}
}
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/Stash.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.IOException;
import java.io.Serial;
import java.net.URL;
Expand Down Expand Up @@ -97,9 +96,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public Stash newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public Stash newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(Stash.class, jsonObject);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;
import java.io.IOException;
import java.net.MalformedURLException;
Expand Down Expand Up @@ -93,9 +92,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public TFS2013GitRepositoryBrowser newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public TFS2013GitRepositoryBrowser newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
try {
req.getSubmittedForm();
} catch (ServletException e) {
Expand Down
5 changes: 1 addition & 4 deletions src/main/java/hudson/plugins/git/browser/ViewGitWeb.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import org.kohsuke.stapler.StaplerRequest2;

import edu.umd.cs.findbugs.annotations.NonNull;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import jakarta.servlet.ServletException;
import java.io.IOException;
import java.io.Serial;
Expand Down Expand Up @@ -91,9 +90,7 @@ public String getDisplayName() {
}

@Override
@SuppressFBWarnings(value = "NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE",
justification = "Inherited javadoc commits that req is non-null")
public ViewGitWeb newInstance(StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
public ViewGitWeb newInstance(@NonNull StaplerRequest2 req, @NonNull JSONObject jsonObject) throws FormException {
return req.bindJSON(ViewGitWeb.class, jsonObject);
}

Expand Down
Loading

0 comments on commit cd91b20

Please sign in to comment.