You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for (finalStringcp : bootClassPath.split(File.pathSeparator)) {
170
-
finalFilefile = newFile(cp); // lgtm [java/path-injection-local] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
170
+
finalFilefile = newFile(cp); // CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
finalFileresponseFile = newFile(responseFileName); // lgtm [java/path-injection-local] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
256
+
finalFileresponseFile = newFile(responseFileName); // CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
finalFilefile = newFile(arg); // lgtm [java/path-injection-local] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
270
+
finalFilefile = newFile(arg); // CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
"Expected required value for option `" + option + "`.");
349
349
finalStringfileName = args.next();
350
-
finalFilefile = newFile(fileName); // lgtm [java/path-injection-local] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
350
+
finalFilefile = newFile(fileName); // CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
Copy file name to clipboardExpand all lines: tools/java-source-utils/src/main/java/com/microsoft/android/JavadocXmlGenerator.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ public JavadocXmlGenerator(final String output) throws FileNotFoundException, Pa
39
39
if (output == null)
40
40
this.output = System.out;
41
41
else {
42
-
finalFilefile = newFile(output); // lgtm [java/path-injection-local] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
42
+
finalFilefile = newFile(output); // CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
43
43
finalFileparent = file.getParentFile();
44
44
if (parent != null) {
45
45
parent.mkdirs();
@@ -86,7 +86,7 @@ public final void writeCopyrightInfo(final File copyright, final String urlPrefi
finalbyte[] data = Files.readAllBytes(copyright.toPath());
89
+
finalbyte[] data = Files.readAllBytes(copyright.toPath());// CodeQL [SM00697] java-source-utils.jar is a command-line app, and is useless if it doesn't support command-line args.
0 commit comments