From d70621b4067b83b2c872d025757e69e7d327b216 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 31 Aug 2015 09:20:48 +0200 Subject: [PATCH] Remove unused throw clauses --- .../src/test/java/server/suite/ServerAdministrationTest.java | 2 +- it/it-tests/src/test/java/server/suite/WebServiceTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java b/it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java index 2cedfcf7011..a0c042c9f18 100644 --- a/it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java +++ b/it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java @@ -91,7 +91,7 @@ public class ServerAdministrationTest { * SONAR-5197 */ @Test - public void api_ws_shortcut() throws Exception { + public void api_ws_shortcut() throws IOException { HttpClient httpclient = new DefaultHttpClient(); try { HttpGet get = new HttpGet(orchestrator.getServer().getUrl() + "/api"); diff --git a/it/it-tests/src/test/java/server/suite/WebServiceTest.java b/it/it-tests/src/test/java/server/suite/WebServiceTest.java index 968c04a781b..cd812ad07a6 100644 --- a/it/it-tests/src/test/java/server/suite/WebServiceTest.java +++ b/it/it-tests/src/test/java/server/suite/WebServiceTest.java @@ -42,7 +42,7 @@ public class WebServiceTest { } @Test - public void favourites_web_service() throws Exception { + public void favourites_web_service() { Sonar adminWsClient = orchestrator.getServer().getAdminWsClient(); // GET (nothing) -- 2.39.5