Skip to content

Commit ac78b4d

Browse files
saurabh-ossclaude
andcommitted
fix: replace deprecated StaplerRequest with StaplerRequest2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent eee90b0 commit ac78b4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/io/forgeai/jenkins/config/ForgeAIGlobalConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import net.sf.json.JSONObject;
1111
import org.jenkinsci.Symbol;
1212
import org.kohsuke.stapler.DataBoundSetter;
13-
import org.kohsuke.stapler.StaplerRequest;
13+
import org.kohsuke.stapler.StaplerRequest2;
1414
import org.kohsuke.stapler.verb.POST;
1515

1616
/**
@@ -54,7 +54,7 @@ public static ForgeAIGlobalConfiguration get() {
5454
}
5555

5656
@Override
57-
public boolean configure(StaplerRequest req, JSONObject json) throws FormException {
57+
public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException {
5858
req.bindJSON(this, json);
5959
save();
6060
return true;

0 commit comments

Comments
 (0)