RFR: 8043306 - Provide a replacement for the API that allowed to listen for LogManager configuration changes
daniel.fuchs at oracle.com
Fri Sep 12 08:42:10 UTC 2014
On 9/12/14 8:26 AM, Peter Levart wrote:
>> Oh yes. I put it there just to avoid it being flagged by
>> 'equals() method not checking type of its parameters'
>> I guess it would be better to just return this == other;
>> (which unfortunately doesn't remove the warning)
> What about using: super.equals(o) ? Does it remove the warning?
Well - the latest webrev uses Runnable and IdentityHashMap so
the problem has solved itself ;-)
But for the record - no - super.equals(o) was my first implementation,
which triggered the warning in the first place...
Just to be clear: it was not a compiler warning - only an editor
More information about the core-libs-dev