diff options
author | David Gageot <david@gageot.net> | 2015-05-13 11:41:01 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-05-13 15:13:54 +0200 |
commit | ce770ba72f1ac8d06ee031ed7b198408cc721e95 (patch) | |
tree | bf189d7c9bd4107f22e561b5963212761992543a /sonar-batch | |
parent | 29926971d0c6a28fab96438304a7b5fc1945d135 (diff) | |
download | sonarqube-ce770ba72f1ac8d06ee031ed7b198408cc721e95.tar.gz sonarqube-ce770ba72f1ac8d06ee031ed7b198408cc721e95.zip |
Remove redundant throws
Diffstat (limited to 'sonar-batch')
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java | 4 | ||||
-rw-r--r-- | sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java index cafee2bebf2..2adf1b31452 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java @@ -39,7 +39,7 @@ public class BatchPluginRepositoryTest { BatchPluginRepository underTest = new BatchPluginRepository(installer, loader); @Test - public void install_and_load_plugins() throws Exception { + public void install_and_load_plugins() { PluginInfo info = new PluginInfo("squid"); ImmutableMap<String, PluginInfo> infos = ImmutableMap.of("squid", info); Plugin instance = mock(Plugin.class); @@ -57,7 +57,7 @@ public class BatchPluginRepositoryTest { } @Test - public void fail_if_requesting_missing_plugin() throws Exception { + public void fail_if_requesting_missing_plugin() { underTest.start(); try { diff --git a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java index 383a93af12e..9b0577ec5b8 100644 --- a/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java +++ b/sonar-batch/src/test/java/org/sonar/batch/mediumtest/fs/FileSystemMediumTest.java @@ -262,7 +262,7 @@ public class FileSystemMediumTest { } @Test - public void scanMultiModuleProject() throws IOException { + public void scanMultiModuleProject() { File projectDir = new File("src/test/resources/mediumtest/xoo/multi-modules-sample"); TaskResult result = tester .newScanTask(new File(projectDir, "sonar-project.properties")) |