提交 4ff09f77 编写于 作者: K kohsuke

compilation problem. sorry.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17391 71c3de6d-444a-0410-be80-ed276b4c234a
上级 8b627acc
...@@ -120,10 +120,10 @@ public class GlobalMatrixAuthorizationStrategy extends AuthorizationStrategy { ...@@ -120,10 +120,10 @@ public class GlobalMatrixAuthorizationStrategy extends AuthorizationStrategy {
if(Hudson.getInstance().isUpgradedFromBefore(new VersionNumber("1.301"))) { if(Hudson.getInstance().isUpgradedFromBefore(new VersionNumber("1.301"))) {
Set<String> f = grantedPermissions.get(Hudson.READ); Set<String> f = grantedPermissions.get(Hudson.READ);
if(f!=null) { if(f!=null) {
Set<String> t = this.grantedPermissions.get(Item.READ); Set<String> t = grantedPermissions.get(Item.READ);
if(t!=null) t.addAll(f); if(t!=null) t.addAll(f);
else t=new HashSet<String>(f); else t=new HashSet<String>(f);
this.grantedPermissions.put(Item.READ,t); grantedPermissions.put(Item.READ,t);
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册