diff options
Diffstat (limited to 'tests/plugins/fake-governance-plugin')
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java index 207661f5ada..31be2ce3bc1 100644 --- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java +++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/BombActivatorAction.java @@ -48,7 +48,7 @@ public class BombActivatorAction implements FakeGoVWsAction { } @Override - public void handle(Request request, Response response) throws Exception { + public void handle(Request request, Response response) { BombType bombType = BombType.valueOf(request.mandatoryParam(PARAM_BOMB_TYPE)); bombConfig.reset(); diff --git a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java index 35744e5ef5b..fb47686044e 100644 --- a/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java +++ b/tests/plugins/fake-governance-plugin/src/main/java/ce/ws/SubmitAction.java @@ -46,7 +46,7 @@ public class SubmitAction implements FakeGoVWsAction { } @Override - public void handle(Request request, Response response) throws Exception { + public void handle(Request request, Response response) { String type = request.mandatoryParam(PARAM_TYPE); CeTaskSubmit.Builder submit = ceQueue.prepareSubmit(); diff --git a/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java b/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java index ee87f516af1..b1682ae6656 100644 --- a/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java +++ b/tests/plugins/fake-governance-plugin/src/main/java/systemPasscode/SystemPasscodeWebService.java @@ -41,7 +41,7 @@ public class SystemPasscodeWebService implements WebService, RequestHandler { } @Override - public void handle(Request request, Response response) throws Exception { + public void handle(Request request, Response response) { if (!passcode.isValid(request)) { response.stream().setStatus(HttpURLConnection.HTTP_UNAUTHORIZED); } diff --git a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java index 61ad50dcc9b..df37590a2ab 100644 --- a/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java +++ b/tests/plugins/fake-governance-plugin/src/main/java/workerCount/RefreshWorkerCountAction.java @@ -54,7 +54,7 @@ public class RefreshWorkerCountAction implements CeWsAction { } @Override - public void handle(Request request, Response response) throws Exception { + public void handle(Request request, Response response) { String count = request.getParam(PARAM_COUNT).getValue(); try (DbSession dbSession = dbClient.openSession(false)) { dbClient.propertiesDao().saveProperty(new PropertyDto() |