Skip to content

Commit d4323a4

Browse files
committed
Update qldoc
1 parent 9d39226 commit d4323a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/ql/src/experimental/Security/CWE/CWE-094/ScriptInjection.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<qhelp>
55

66
<overview>
7-
<p>The Java Scripting API has been available since the release of Java 6, which allows
7+
<p>The Java Scripting API has been available since the release of Java 6. It allows
88
applications to interact with scripts written in languages such as JavaScript. It serves
99
as an embedded scripting engine inside Java applications which allows Java-to-JavaScript
1010
interoperability and provides a seamless integration between the two languages. If an
@@ -21,7 +21,7 @@
2121
</recommendation>
2222

2323
<example>
24-
<p>The following code could execute random JavaScript code in <code>ScriptEngine</code></p>
24+
<p>The following code could execute user-supplied JavaScript code in <code>ScriptEngine</code></p>
2525
<sample src="ScriptEngine.java" />
2626
<sample src="NashornScriptEngine.java" />
2727

0 commit comments

Comments
 (0)