exposing PermissionGroup

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@6423 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-12-27 01:02:35 +00:00
1 parent 4f4a389623
commit 3f3bac94d2
1 file changed
+1 -6
@@ -56,12 +56,7 @@ public final class Permission {
this.name = name;
this.impliedBy = impliedBy;
synchronized (PERMISSIONS) {
PermissionGroup g = PERMISSIONS.get(owner);
if(g==null)
PERMISSIONS.put(owner,g = new PermissionGroup(owner));
g.add(this);
}
group.add(this);
ALL.add(this);
}