]> source.dussan.org Git - sonarqube.git/commitdiff
Fix test compilation
authorJulien HENRY <julien.henry@sonarsource.com>
Wed, 26 Jun 2013 09:48:10 +0000 (11:48 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Wed, 26 Jun 2013 09:48:10 +0000 (11:48 +0200)
plugins/sonar-maven-batch-plugin/src/test/java/org/sonar/plugins/maven/RealMavenPluginExecutorTest.java

index ae359d9272e3f2cb936351eeb6c00cb6fbbabeb4..74a9de56f00a3af1ef5ea0074d9784fb40ed0dab 100644 (file)
@@ -57,7 +57,7 @@ public class RealMavenPluginExecutorTest {
   public void should_reset_file_system_after_execution() {
     RealMavenPluginExecutor executor = new RealMavenPluginExecutor(null, null) {
       @Override
-      public void concreteExecute(MavenProject pom, String goal) throws Exception {
+      public void concreteExecute(MavenProject pom, String goal) {
         pom.addCompileSourceRoot("src/java");
       }
     };
@@ -76,7 +76,7 @@ public class RealMavenPluginExecutorTest {
   public void should_ignore_non_maven_projects() {
     RealMavenPluginExecutor executor = new RealMavenPluginExecutor(null, null) {
       @Override
-      public void concreteExecute(MavenProject pom, String goal) throws Exception {
+      public void concreteExecute(MavenProject pom, String goal) {
         pom.addCompileSourceRoot("src/java");
       }
     };