aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-02-08 09:45:06 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-02-08 09:45:45 +0100
commitfab948761d972de69b4674f40052f44ca803d120 (patch)
tree61a3d75798ebd69e5475f2e3e682dc2eaa6ff77c /server/sonar-process-monitor
parent6aff1b068d8d68493d357ca48c204dac1dc0ddea (diff)
downloadsonarqube-fab948761d972de69b4674f40052f44ca803d120.tar.gz
sonarqube-fab948761d972de69b4674f40052f44ca803d120.zip
SONAR-7168 fix quality flaw in AllProcessesCommands
Diffstat (limited to 'server/sonar-process-monitor')
-rw-r--r--server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/JavaProcessLauncher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/JavaProcessLauncher.java b/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/JavaProcessLauncher.java
index 403ec9a3b60..7a5869abb38 100644
--- a/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/JavaProcessLauncher.java
+++ b/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/JavaProcessLauncher.java
@@ -52,7 +52,7 @@ public class JavaProcessLauncher {
ProcessRef launch(JavaCommand command) {
Process process = null;
try {
- ProcessCommands commands = allProcessesCommands.getProcessCommand(command.getProcessIndex(), true);
+ ProcessCommands commands = allProcessesCommands.createAfterClean(command.getProcessIndex());
ProcessBuilder processBuilder = create(command);
LoggerFactory.getLogger(getClass()).info("Launch process[{}]: {}",