FindBugs Bug Detector Report
The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Summary
Classes |
Bugs |
Errors |
Missing Classes |
20 |
13 |
0 |
0 |
org.apache.river.outrigger.snaplogstore.BackEnd$ConsumerThread
Bug |
Category |
Details |
Line |
Priority |
Naked notify in org.apache.river.outrigger.snaplogstore.BackEnd$ConsumerThread.update() |
MT_CORRECTNESS |
NN_NAKED_NOTIFY |
299 |
Medium |
Unconditional wait in org.apache.river.outrigger.snaplogstore.BackEnd$ConsumerThread.run() |
MT_CORRECTNESS |
UW_UNCOND_WAIT |
277 |
Medium |
org.apache.river.outrigger.snaplogstore.LogInputFile
Bug |
Category |
Details |
Line |
Priority |
org.apache.river.outrigger.snaplogstore.LogInputFile.consume(BackEnd) may fail to close stream |
BAD_PRACTICE |
OS_OPEN_STREAM |
160 |
Medium |
Exceptional return value of java.io.File.delete() ignored in org.apache.river.outrigger.snaplogstore.LogInputFile.finished() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
332 |
Medium |
org.apache.river.outrigger.snaplogstore.LogInputFile.consume(BackEnd) ignores result of java.io.DataInputStream.skipBytes(int) |
BAD_PRACTICE |
SR_NOT_CHECKED |
289 |
Medium |
org.apache.river.outrigger.snaplogstore.LogInputFile$LogInputFileIterator
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.delete() ignored in org.apache.river.outrigger.snaplogstore.LogInputFile$LogInputFileIterator.next() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
120 |
Medium |
org.apache.river.outrigger.snaplogstore.LogOutputFile
Bug |
Category |
Details |
Line |
Priority |
org.apache.river.outrigger.snaplogstore.LogOutputFile.failed(Exception) invokes System.exit(...), which shuts down the entire virtual machine |
BAD_PRACTICE |
DM_EXIT |
518 |
Medium |
Increment of volatile field org.apache.river.outrigger.snaplogstore.LogOutputFile.suffix in org.apache.river.outrigger.snaplogstore.LogOutputFile.nextPath() |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
143 |
Medium |
org.apache.river.outrigger.snaplogstore.LogStore
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.delete() ignored in org.apache.river.outrigger.snaplogstore.LogStore.destroy() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
108 |
Medium |
org.apache.river.outrigger.snaplogstore.Registration
Bug |
Category |
Details |
Line |
Priority |
org.apache.river.outrigger.snaplogstore.Registration doesn't override Resource.equals(Object) |
STYLE |
EQ_DOESNT_OVERRIDE_EQUALS |
1 |
Medium |
org.apache.river.outrigger.snaplogstore.SnapshotFile
Bug |
Category |
Details |
Line |
Priority |
Exceptional return value of java.io.File.delete() ignored in new org.apache.river.outrigger.snaplogstore.SnapshotFile(String, File[]) |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
65 |
Medium |
Exceptional return value of java.io.File.delete() ignored in org.apache.river.outrigger.snaplogstore.SnapshotFile.commit() |
BAD_PRACTICE |
RV_RETURN_VALUE_IGNORED_BAD_PRACTICE |
123 |
Medium |
Increment of volatile field org.apache.river.outrigger.snaplogstore.SnapshotFile.suffix in org.apache.river.outrigger.snaplogstore.SnapshotFile.next() |
MT_CORRECTNESS |
VO_VOLATILE_INCREMENT |
105 |
Medium |