/guava/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
} else { allowedPriorLocks.put( acquiredLock, new ExampleStackTrace( acquiredLock, this) ) ;
allowedPriorLocks.put ( acquiredLock, new ExampleStackTrace ( acquiredLock, this ) ) ; } else {
policy.handlePotentialDeadlock(exception); return; } Set<LockGraphNode> seen = Sets.newIdentityHashSet(); ExampleStackTrace path = acquiredLock.findPathTo(this, seen); if (path == null) { <extra_id_0> PotentialDeadlockException exception = new PotentialDeadlockException(acquiredLock, this, path); disallowedPriorLocks.put(acquiredLock, exception); policy.handlePotentialDeadlock(exception); } }