From: Simon Brandhof Date: Tue, 10 Jul 2012 15:46:50 +0000 (+0200) Subject: Allow to mock CommandExecutor X-Git-Tag: 3.2~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b273c3cb51d60429fe223fc3a9d4bd25d84240f7;p=sonarqube.git Allow to mock CommandExecutor Changing final to non-final does not break binary compatibility. Constructor is kept private. --- diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java index 0384b5251cb..887a62495a4 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java @@ -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);