View by Classes

Findings - Overview

filtered method creates local variable-based synchronized collection (Findbugs)

Further info on the wiki.

This method creates a synchronized collection and store the reference to it in a local variable. As local variables are by definition threadsafe, it seems questionable that this collection needs to be synchronized.

If you are usingconsider using
java.util.Vectorjava.util.ArrayList
java.util.Hashtablejava.util.HashMap
java.lang.StringBufferjava.lang.StringBuilder

4org.jcoderz.testdata.Importer
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) creates local variable-based synchronized collection [316],
method org.jcoderz.testdata.Importer.reOrderItems(Map, Map, List, List) creates local variable-based synchronized collection [455],
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) creates local variable-based synchronized collection [317],
method org.jcoderz.testdata.Importer.generateQueries(List, Map, List, Set, List, Properties, boolean) creates local variable-based synchronized collection [318]