Exemplo n.º 1
0
 void removeLockHolder(String name) {
   if (children != null) {
     Iterator<CommonResource> it = children.iterator();
     while (it.hasNext()) {
       Resource r = it.next();
       if (r instanceof LockNullResource && r.getName().equals(name)) {
         it.remove();
       }
     }
   }
 }