RFR 8023463 Update HashMap and LinkedHashMap to use bins/buckets or trees (red/black)
Martin Buchholz
martinrb at google.com
Wed Aug 28 02:40:56 UTC 2013
On Tue, Aug 27, 2013 at 2:38 PM, Remi Forax <forax at univ-mlv.fr> wrote:
>
>>
>> For jsr166, we continue to maintain some support for jdk6 and use javac6
>> in
>> places, and so we've been known to de-<> for portability. We're also not
>> huge fans of using @Override pervasively.
>>
>
> From a reader perspective, @Override is great to figure out which part of
> the code
> is part of the supertypes contract and which part is specific to the class.
>
I don't dispute that @Override provides some useful information. But is it
worth that feeling I get every time I see an @Override, that some bug
splatted on my monitor, and can't be cleaned?
Why not go further, and do:
@SpecifiedBy(Collection<E>)
@SpecifiedBy(List<E>)
@Overrides(Object)
More information about the core-libs-dev
mailing list