https://bugzilla.novell.com/show_bug.cgi?id=445938 Summary: ant-contrib-1.0b2-39.38: poor choice of StringBuffer size Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Minor Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just checked some of the Java source code in the Suse Linux factory package ant-contrib-1.0b2-39.38 and I noticed the following /usr/src/packages/BUILD/ant-contrib-1.0b2/ant-contrib/src/net/sf/antcontrib/perf/AntPerformanceListener.java:83StringBuffer constructor is initialized with size 16, but has at least 199 characters appended. Suggest new code StringBuffer msg = new StringBuffer( 256); to reduce the amount of behind the scenes work in increasing the buffer size from 16 to at least 199. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.