X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Futil%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Futil%2Fconcurrent%2FDeadlockDetectingListeningExecutorService.java;h=8cdbc2c41373827e5f26baab4fe544f2e87d7f9d;hb=178b951cbabbc81d3bcf00749a7c97964ed20296;hp=2cfdba290f46fb102c8687e6e2a6d9d0fb4fa8a1;hpb=41c159ad750e969516f9b5fb4b7edeb5633eff7e;p=yangtools.git
diff --git a/common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/DeadlockDetectingListeningExecutorService.java b/common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/DeadlockDetectingListeningExecutorService.java
index 2cfdba290f..8cdbc2c413 100644
--- a/common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/DeadlockDetectingListeningExecutorService.java
+++ b/common/util/src/main/java/org/opendaylight/yangtools/util/concurrent/DeadlockDetectingListeningExecutorService.java
@@ -24,8 +24,8 @@ import javax.annotation.Nullable;
/**
* An implementation of ListeningExecutorService that attempts to detect deadlock scenarios that
* could occur if clients invoke the returned Future's get
methods synchronously.
- *
- * Deadlock scenarios are most apt to occur with a backing single-threaded executor where setting of + * + *
Deadlock scenarios are most apt to occur with a backing single-threaded executor where setting of * the Future's result is executed on the single thread. Here's a scenario: *
- * This class prevents this scenario via the use of a ThreadLocal variable. When a task is invoked, + * + *
This class prevents this scenario via the use of a ThreadLocal variable. When a task is invoked,
* the ThreadLocal is set and, when a task completes, the ThreadLocal is cleared. Futures returned
* from this class override the get
methods to check if the ThreadLocal is set. If it is,
* an ExecutionException is thrown with a custom cause.
*
- * Note that the ThreadLocal is not removed automatically, so some state may be left hanging off of
+ *
Note that the ThreadLocal is not removed automatically, so some state may be left hanging off of * threads which have encountered this class. If you need to clean that state up, use * {@link #cleanStateForCurrentThread()}. *