Locking overlap.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 31 Mar 2003 20:25:08 +0000 (20:25 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 31 Mar 2003 20:25:08 +0000 (20:25 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@550 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aa/arp/provider/BaseArpRepository.java

index ee55531..73d05c4 100755 (executable)
@@ -367,6 +367,7 @@ class ArpCache {
                                                                needsDeleting.add(cachedArp);
                                                        }
                                                }
+                                       }
                                                //release the lock to be friendly
                                                Iterator deleteIterator = needsDeleting.iterator();
                                                while (deleteIterator.hasNext()) {
@@ -376,7 +377,7 @@ class ArpCache {
                                                                        ((CachedArp) deleteIterator.next()).arp.getPrincipal());
                                                        }
                                                }
-                                       }
+
                                        sleep(5 * 60 * 1000);
                                } catch (InterruptedException e) {
                                        log.debug("ArpCache Cleanup interrupted.");