We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3483672 commit 2f9f7cbCopy full SHA for 2f9f7cb
opengrok-web/src/main/java/org/opengrok/web/util/FileUtil.java
@@ -46,6 +46,7 @@ private FileUtil() {
46
* leads outside source root
47
* @throws NoPathParameterException if the {@code path} parameter is null
48
*/
49
+ @SuppressWarnings("lgtm[java/path-injection]")
50
public static File toFile(String path) throws NoPathParameterException, IOException {
51
if (path == null) {
52
throw new NoPathParameterException("Missing path parameter");
0 commit comments