PATCH: Minor signature fixes
Warren Levy
warrenl@cygnus.com
Sun Dec 3 15:18:00 GMT 2000
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
More information about the Java-patches
mailing list