]> source.dussan.org Git - sonarqube.git/commitdiff
Allow to mock CommandExecutor
authorSimon Brandhof <simon.brandhof@gmail.com>
Tue, 10 Jul 2012 15:46:50 +0000 (17:46 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Tue, 10 Jul 2012 15:47:03 +0000 (17:47 +0200)
Changing final to non-final does not break binary compatibility. Constructor is kept private.

sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java

index 0384b5251cb3fdfdfb4a1fb3c743f80ed221db35..887a62495a4cb9566dfe2cfb9a9c362d0a8e3bf2 100644 (file)
@@ -36,7 +36,7 @@ import java.util.concurrent.*;
  *
  * @since 2.7
  */
-public final class CommandExecutor {
+public class CommandExecutor {
 
   private static final Logger LOG = LoggerFactory.getLogger(CommandExecutor.class);