提交 f33f51ad 编写于 作者: L lancea

7036251: Correct SQLPermission constructor javadocs for permission target names

Reviewed-by: alanb
上级 733e5e7a
......@@ -116,11 +116,11 @@ public final class SQLPermission extends BasicPermission {
/**
* Creates a new <code>SQLPermission</code> object with the specified name.
* The name is the symbolic name of the <code>SQLPermission</code>; currently,
* the only name allowed is "setLog".
* The name is the symbolic name of the <code>SQLPermission</code>.
*
* @param name the name of this <code>SQLPermission</code> object, which must
* be <code>setLog</code>
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* or {@code setNetworkTimeout}
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
......@@ -137,7 +137,8 @@ public final class SQLPermission extends BasicPermission {
* <code>null</code>.
*
* @param name the name of this <code>SQLPermission</code> object, which must
* be <code>setLog</code>
* be either {@code setLog}, {@code callAbort}, {@code setSyncFactory},
* or {@code setNetworkTimeout}
* @param actions should be <code>null</code>
* @throws NullPointerException if <code>name</code> is <code>null</code>.
* @throws IllegalArgumentException if <code>name</code> is empty.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册