Loading... (original) (raw)

ReferenceQueue has 3 fields that should be made final.

Class Null doesn't need to be generic

- private static class Null extends ReferenceQueue {
- boolean enqueue(Reference r) { \+ private static class Null extends ReferenceQueue { \+ boolean enqueue(Reference r) {

Reference fields are documented as being NULL, but they are actually null

- /* When active: NULL
+ /* When active: null