What methods should go into a java.util.Objects class in JDK 7? (original) (raw)

Paul Benedict pbenedict at apache.org
Sat Oct 10 01:20:59 UTC 2009


Joe,

I think java.util.Objects could benefit from the "final" modifier. Since its constructor always fails, there is no reason to subclass it (i.e., super constructor always fails). I believe Josh's "Effective Java" book makes such a point about static utility classes.

Paul



More information about the core-libs-dev mailing list