Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
0.9.15
-
None
-
None
-
any
Description
StringBuffer is used in some local variables. The newer StringBuilder alternative will improve the performance slightly in such cases.
E.g.in FileNamePattern
public String convert(Object o) {
Converter<Object> p = headTokenConverter;
StringBuffer buf = new StringBuffer();
while (p != null)
return buf.toString();
}
should change to use
StringBuilder buf = new StringBuilder();