aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-tests
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2015-08-31 09:20:48 +0200
committerDavid Gageot <david@gageot.net>2015-08-31 18:48:55 +0200
commitd70621b4067b83b2c872d025757e69e7d327b216 (patch)
tree4562e02e552a8bec0d6f0f04418bd6ebcf34a7ce /it/it-tests
parent75b201a54a3cc80f035e6f177f907eb04bd8f892 (diff)
downloadsonarqube-d70621b4067b83b2c872d025757e69e7d327b216.tar.gz
sonarqube-d70621b4067b83b2c872d025757e69e7d327b216.zip
Remove unused throw clauses
Diffstat (limited to 'it/it-tests')
-rw-r--r--it/it-tests/src/test/java/server/suite/ServerAdministrationTest.java2
-rw-r--r--it/it-tests/src/test/java/server/suite/WebServiceTest.java2
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)