提交 71207262 编写于 作者: J James Nord

Javadoc fix.

The use of `_` as an identifier is discouraged in the JLS, therefor do
not suggest its use in our javadoc.

ref:
http://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.27.1

> It is a compile-time error if a lambda parameter has the name _ (that
is, a single underscore character).

> The use of the variable name _ in any context is discouraged. Future
versions of the Java programming language may reserve this name as a
keyword and/or give it special semantics.
上级 d600a319
......@@ -270,7 +270,7 @@ public abstract class ACL {
* <p>
* This makes impersonation much easier within code as it can now be used using the try with resources construct:
* <pre>
* try (ACLContext _ = ACL.as(auth)) {
* try (ACLContext ctx = ACL.as(auth)) {
* ...
* }
* </pre>
......@@ -292,7 +292,7 @@ public abstract class ACL {
* <p>
* This makes impersonation much easier within code as it can now be used using the try with resources construct:
* <pre>
* try (ACLContext _ = ACL.as(auth)) {
* try (ACLContext ctx = ACL.as(auth)) {
* ...
* }
* </pre>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册