Skip to content

Commit

Permalink
Reduce javax.servlet.ServletException footprint (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored May 23, 2024
1 parent 8633ffa commit a01b67e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/hudson/matrix/MatrixConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
import java.util.logging.Logger;
import edu.umd.cs.findbugs.annotations.CheckForNull;
import edu.umd.cs.findbugs.annotations.NonNull;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletResponse;

import org.kohsuke.accmod.Restricted;
Expand Down Expand Up @@ -144,7 +143,7 @@ public final boolean supportsMakeDisabled() {
}

@Override
public final HttpResponse doDisable() throws IOException, ServletException {
public final HttpResponse doDisable() throws IOException {
return HttpResponses.errorWithoutStack(405, Messages.MatrixConfiguration_DisableNotAllowed());
}

Expand Down

0 comments on commit a01b67e

Please sign in to comment.