Skip to content

Commit

Permalink
Migrate from EE 8 to EE 9 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Jan 22, 2025
1 parent 1c5b1e2 commit dc6a0a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import net.sf.json.JSONObject;

import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;

import hudson.Extension;
import hudson.XmlFile;
Expand Down Expand Up @@ -55,7 +55,7 @@ protected XmlFile getConfigFile() {
}

@Override
public boolean configure(StaplerRequest req, JSONObject json) {
public boolean configure(StaplerRequest2 req, JSONObject json) {
req.bindJSON(this, json);
save();
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import javax.servlet.ServletException;
import jakarta.servlet.ServletException;

import org.apache.http.HttpResponse;
import org.apache.http.ProtocolVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import jakarta.servlet.ServletException;

import org.apache.http.entity.ContentType;
import org.eclipse.jetty.http.HttpHeader;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/jenkins/plugins/http_request/Registers.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.util.Map;
import java.util.concurrent.ExecutionException;

import javax.servlet.ServletException;
import jakarta.servlet.ServletException;

import org.apache.http.HttpHeaders;
import org.apache.http.entity.ContentType;
Expand Down

0 comments on commit dc6a0a9

Please sign in to comment.