public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/38190] New: ConcurrentHashMap.java: 2 * unused local variables
@ 2008-11-20 9:38 dcb314 at hotmail dot com
2009-01-02 11:30 ` [Bug classpath/38190] " gnu_andrew at member dot fsf dot org
0 siblings, 1 reply; 2+ messages in thread
From: dcb314 at hotmail dot com @ 2008-11-20 9:38 UTC (permalink / raw)
To: java-prs
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/external/jsr166/java/util/concurrent/ConcurrentHashMap.java:807
Avoid unused local variables such as 'c'.
gcc-4.4-20081114/libjava/classpath/external/jsr166/java/util/concurrent/ConcurrentHashMap.java:815
Avoid unused local variables such as 'c'.
I have checked the source code and I agree.
Suggest remove these two unused local variables, especially since they are in a
for loop.
--
Summary: ConcurrentHashMap.java: 2 * unused local variables
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=38190
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug classpath/38190] ConcurrentHashMap.java: 2 * unused local variables
2008-11-20 9:38 [Bug java/38190] New: ConcurrentHashMap.java: 2 * unused local variables dcb314 at hotmail dot com
@ 2009-01-02 11:30 ` gnu_andrew at member dot fsf dot org
0 siblings, 0 replies; 2+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2009-01-02 11:30 UTC (permalink / raw)
To: java-prs
------- Comment #1 from gnu_andrew at member dot fsf dot org 2009-01-02 11:30 -------
This is external code maintained here:
http://g.oswego.edu/dl/concurrency-interest/
--
gnu_andrew at member dot fsf dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38190
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-02 11:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20 9:38 [Bug java/38190] New: ConcurrentHashMap.java: 2 * unused local variables dcb314 at hotmail dot com
2009-01-02 11:30 ` [Bug classpath/38190] " gnu_andrew at member dot fsf dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).