resources.report.rules.pmd.ReplaceVectorWithList.html Maven / Gradle / Ivy
ReplaceVectorWithList
ReplaceVectorWithList
Consider replacing Vector usages with the newer java.util.ArrayList if expensive thread-safe operations are not required.
//Type/ReferenceType/ClassOrInterfaceType[@Image='Vector']
Example(s):
public class Foo {
void bar() {
Vector v = new Vector();
}
}