else logger.log (Component.POLICY, "{0} !-> {1}", new Object[] { cs, codeSource });
  public PermissionCollection getPermissions(CodeSource codeSource)  {        Permissions perms = new Permissions();    for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext(); )      {        Map.Entry e = (Map.Entry) it.next();        CodeSource cs = (CodeSource) e.getKey();        if (cs.implies(codeSource))          {            logger.log (Component.POLICY, "{0} -> {1}", new Object[]              { cs, codeSource });            PermissionCollection pc = (PermissionCollection) e.getValue();            for (Enumeration ee = pc.elements(); ee.hasMoreElements(); )              {                    perms.add((Permission) ee.nextElement());                }            }        else          logger.log (Component.POLICY, "{0} !-> {1}", new Object[]            { cs, codeSource });        }    logger.log (Component.POLICY, "returning permissions {0} for {1}",                new Object[] { perms, codeSource });        return perms;    }