We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21c4d5f commit 778820dCopy full SHA for 778820d
1 file changed
src/main/java/de/codeshield/log4jshell/Log4JProcessDetector.java
@@ -23,13 +23,11 @@ public static void main(String[] args) throws IOException {
23
24
Process process = new ProcessBuilder(commands).start();
25
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
26
- StringBuilder builder = new StringBuilder();
27
List<String> lines = new ArrayList<>();
28
String line = null;
29
while ((line = reader.readLine()) != null) {
30
lines.add(line);
31
}
32
- String result = builder.toString();
33
34
// analyze each output
35
// search for the "-classpath" parameter
@@ -67,7 +65,5 @@ public static void main(String[] args) throws IOException {
67
65
continue;
68
66
69
70
-
71
- System.out.println(result);
72
73
0 commit comments