提交 c0127a33 编写于 作者: S Stephen Connolly

Simplify thanks to @jglick

上级 ef04663b
......@@ -136,8 +136,6 @@ public class Items {
ACL acl;
if (c instanceof AccessControlled) {
acl = ((AccessControlled) c).getACL();
} else if (c instanceof Item) {
acl = ((Item) c).getACL();
} else {
// fall back to root
acl = Jenkins.getInstance().getACL();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册