14 lines
400 B
Plaintext
14 lines
400 B
Plaintext
include::description.adoc[]
|
|
|
|
|
|
This rule raises an issue when the return values of the following are ignored:
|
|
|
|
* `java.io.File` operations that return a status code (except `mkdirs`)
|
|
* `Iterator.hasNext()`
|
|
* `Enumeration.hasMoreElements()`
|
|
* `Lock.tryLock()`
|
|
* non-void `Condition.await*` methods
|
|
* `CountDownLatch.await(long, TimeUnit)`
|
|
* `Semaphore.tryAcquire`
|
|
* `BlockingQueue`: `offer`, `remove`
|