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
18 8 0 0

org.apache.maven.index.reader.ChunkReader

Bug Category Details Line Priority
org.apache.maven.index.reader.ChunkReader.getTimestamp() may expose internal representation by returning ChunkReader.timestamp MALICIOUS_CODE EI_EXPOSE_REP 82 Medium

org.apache.maven.index.reader.ChunkWriter

Bug Category Details Line Priority
org.apache.maven.index.reader.ChunkWriter.getTimestamp() may expose internal representation by returning ChunkWriter.timestamp MALICIOUS_CODE EI_EXPOSE_REP 88 Medium
new org.apache.maven.index.reader.ChunkWriter(String, OutputStream, int, Date) may expose internal representation by storing an externally mutable object into ChunkWriter.timestamp MALICIOUS_CODE EI_EXPOSE_REP2 61 Medium

org.apache.maven.index.reader.IndexReader

Bug Category Details Line Priority
org.apache.maven.index.reader.IndexReader.getPublishedTimestamp() may expose internal representation by returning IndexReader.publishedTimestamp MALICIOUS_CODE EI_EXPOSE_REP 131 Medium
Call to method of static java.text.DateFormat in new org.apache.maven.index.reader.IndexReader(WritableResourceHandler, ResourceHandler) MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 108 Medium

org.apache.maven.index.reader.IndexWriter

Bug Category Details Line Priority
Call to method of static java.text.DateFormat in org.apache.maven.index.reader.IndexWriter.close() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 186 Medium
Call to method of static java.text.DateFormat in org.apache.maven.index.reader.IndexWriter.getPublishedTimestamp() MT_CORRECTNESS STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE 113 Medium

org.apache.maven.index.reader.Utils

Bug Category Details Line Priority
org.apache.maven.index.reader.Utils.INDEX_DATE_FORMAT is a static field of type java.text.DateFormat, which isn't thread safe MT_CORRECTNESS STCAL_STATIC_SIMPLE_DATE_FORMAT_INSTANCE Not available High