This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/38198] New: DefaultTableColumnModel.java: redundant call to new
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 20 Nov 2008 11:41:04 -0000
- Subject: [Bug java/38198] New: DefaultTableColumnModel.java: redundant call to new
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I just had a look at some of the source code of the Java package in
the GNU gcc version 4.4.0 snapshot 20081114
gcc-4.4-20081114/libjava/classpath/javax/swing/table/DefaultTableColumnModel.java:401
Avoid unused local variables such as 'ls'.
The source code is
java.util.ArrayList ls = new java.util.ArrayList();
Suggest remove unused local variable ls.
--
Summary: DefaultTableColumnModel.java: redundant call to new
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: suse-linux-x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38198