Skip to content

Commit a29d195

Browse files
Fix RESTRICTED_TOKENS typo issue
1 parent 30e6c22 commit a29d195

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/src/main/java/org/apache/cloudstack/utils/jsinterpreter/JsInterpreter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public class JsInterpreter implements Closeable {
6262
protected Logger logger = LogManager.getLogger(JsInterpreter.class);
6363

6464
protected static final List<String> RESTRICTED_TOKENS = Arrays.asList( "engine", "context", "factory",
65-
"Java", "java", "Packages"," javax", "load", "loadWithNewGlobal", "print", "factory", "getClass",
65+
"Java", "java", "Packages", "javax", "load", "loadWithNewGlobal", "print", "factory", "getClass",
6666
"runCommand", "Runtime", "exec", "ProcessBuilder", "Thread", "thread", "Threads", "Class", "class");
6767

6868
protected ScriptEngine interpreter;

0 commit comments

Comments
 (0)