]> source.dussan.org Git - sonarqube.git/commitdiff
Remove unused throw clauses
authorDavid Gageot <david@gageot.net>
Mon, 31 Aug 2015 07:20:48 +0000 (09:20 +0200)
committerDavid Gageot <david@gageot.net>
Mon, 31 Aug 2015 16:48:55 +0000 (18:48 +0200)
it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java
it/it-tests/src/test/java/server/suite/WebServiceTest.java

index 2cedfcf7011d7145be2b6f6aeb8233d8cab494d3..a0c042c9f1846adcdfd66604a6d879cef7e00c9d 100644 (file)
@@ -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");
index 968c04a781bace9b77addf687b74e949ca7a5bd6..cd812ad07a69c9e0e9bf3f804d677b7e3a9a5f11 100644 (file)
@@ -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)