protected void addPermissions(CodeSource codeSource, Permissions perms) {
protected void addPermissions(CodeSource codeSource, PermissionCollection perms) {
    protected void addPermissions(CodeSource codeSource, Permissions perms) {        for (Iterator it = codeSource2Permissions.entrySet().iterator(); it                .hasNext();) {            final Map.Entry e = (Map.Entry) it.next();            final CodeSource cs = (CodeSource) e.getKey();            if (cs.implies(codeSource)) {                // BootLog.info(cs + " -> " + codeSource);                final PermissionCollection pc = (PermissionCollection) e                        .getValue();                for (Enumeration ee = pc.elements(); ee.hasMoreElements();) {                    perms.add((Permission) ee.nextElement());                }            }        }    }