aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/utils/command/CommandExecutor.java1
1 files changed, 0 insertions, 1 deletions
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 f9ce4d7444c..799d8896a21 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
@@ -143,7 +143,6 @@ public class CommandExecutor {
private void closeStreams(@Nullable Process process) {
if (process != null) {
Closeables.closeQuietly(process.getInputStream());
- Closeables.closeQuietly(process.getInputStream());
Closeables.closeQuietly(process.getOutputStream());
Closeables.closeQuietly(process.getErrorStream());
}