8f2fe8659b
Motivation: For the code pattern of `Object.wait(...)` in `io.netty.util.concurrent.DefaultPromise.await0(...)`, it's better to follow the recommended code pattern according to [Object.wait(...)'s doc](https://docs.oracle.com/javase/7/docs/api/java/lang/Object.html#wait()): ``` synchronized (obj) { while (<condition does not hold>) obj.wait(); ... // Perform action appropriate to condition } ``` Modification: Change the `Object.wait(...)`'s code pattern in `io.netty.util.concurrent.DefaultPromise.await0(...)`. Result: The `Object.wait(...)`'s code pattern in `io.netty.util.concurrent.DefaultPromise.await0(...)` meets the Java doc. |
||
---|---|---|
.. | ||
src | ||
pom.xml |