This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: PATCH: Minor signature fixes
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: PATCH: Minor signature fixes
- From: Warren Levy <warrenl at cygnus dot com>
- Date: Sun, 3 Dec 2000 15:18:57 -0800 (PST)
- cc: Java Patch List <java-patches at sourceware dot cygnus dot com>
On Mon, 4 Dec 2000, Bryce McKinlay wrote:
> Warren Levy wrote:
>
> > Folks,
> > Here are a few signature fixes I've run across.
> >
> > * java/util/LinkedList.java: Implements List.
>
> Strictly speaking, thats redundant, because LinkedList extends AbstractList
> which implements List already. Then again, it doesn't hurt anything to be a
> bit more explicit...
Yeah, but it shows up as a discrepancy when I compare against the JDK
spec, so I did it to decrease the noise from the comparison.
Take a look at the JCL 1.2 supplement and the online doc to see what I
mean. There are even some cases where I change the order of things (e.g.
the order of exceptions in a throws clause or the interfaces in an
implements clause) to reduce the noise even though they are not strictly a
problem.
--warrenl