aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process/src
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-process/src')
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/AllProcessesCommands.java2
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java2
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessCommands.java3
3 files changed, 4 insertions, 3 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/AllProcessesCommands.java b/server/sonar-process/src/main/java/org/sonar/process/AllProcessesCommands.java
index 512cd788bab..d22a6ba1050 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/AllProcessesCommands.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/AllProcessesCommands.java
@@ -269,7 +269,7 @@ public class AllProcessesCommands {
}
@Override
- public void close() throws Exception {
+ public void close() {
endWatch();
}
}
diff --git a/server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java b/server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java
index a617ea4580b..04a608fef06 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java
@@ -117,7 +117,7 @@ public class DefaultProcessCommands implements ProcessCommands {
}
@Override
- public void close() throws Exception {
+ public void close() {
allProcessesCommands.close();
}
}
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessCommands.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessCommands.java
index 1057ad54158..482029b81d8 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/ProcessCommands.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessCommands.java
@@ -28,7 +28,8 @@ import java.io.File;
* <li>stop/restart a specific processes</li>
* </ul>
*
- * @see DefaultProcessCommands#DefaultProcessCommands(File, int)
+ * @see DefaultProcessCommands#main(File, int)
+ * @see DefaultProcessCommands#secondary(File, int)
*/
public interface ProcessCommands extends AutoCloseable {