diff --git a/core/src/main/java/hudson/security/ACL.java b/core/src/main/java/hudson/security/ACL.java index 2febef6650cc90e4787b34fd3f7c8ab6e7630b56..a2c463d97cad1fb6dca3ca003d48aa4830a9ea11 100644 --- a/core/src/main/java/hudson/security/ACL.java +++ b/core/src/main/java/hudson/security/ACL.java @@ -270,7 +270,7 @@ public abstract class ACL { *

* This makes impersonation much easier within code as it can now be used using the try with resources construct: *

-     *     try (ACLContext _ = ACL.as(auth)) {
+     *     try (ACLContext ctx = ACL.as(auth)) {
      *        ...
      *     }
      * 
@@ -292,7 +292,7 @@ public abstract class ACL { *

* This makes impersonation much easier within code as it can now be used using the try with resources construct: *

-     *     try (ACLContext _ = ACL.as(auth)) {
+     *     try (ACLContext ctx = ACL.as(auth)) {
      *        ...
      *     }
      *