Code quality improvment to simplify test QL

This commit is contained in:
Tamas Vajk
2022-09-14 15:15:06 +02:00
parent a68b61f50a
commit 16836de02b

View File

@@ -5,7 +5,7 @@ private string getArgument(Compilation c, int i) {
if exists(arg.indexOf("-Xplugin="))
then result = "<PLUGINS>"
else
if exists(string arg0 | arg0 = c.getArgument(i - 1) | arg0 = ["-classpath", "-jdk-home"])
if c.getArgument(i - 1) = ["-classpath", "-jdk-home"]
then result = "<PATH>"
else result = arg
)