mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 02:56:21 +00:00
commit
f1af3e4ce4
1 file changed
+2
-2
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user