diff --git a/src/java/com/samskivert/util/AbstractIntSet.java b/src/java/com/samskivert/util/AbstractIntSet.java index 14993ffa..f272112c 100644 --- a/src/java/com/samskivert/util/AbstractIntSet.java +++ b/src/java/com/samskivert/util/AbstractIntSet.java @@ -99,10 +99,7 @@ public abstract class AbstractIntSet extends AbstractSet @Override // from AbstractSet public boolean add (Integer i) { - if (i == null) { - throw new NullPointerException(); - } - return add(i.intValue()); + return add(i.intValue()); // will NPE } @Override // from AbstractSet