Undo this, the NPE will happen automatically..
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2650 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -99,10 +99,7 @@ public abstract class AbstractIntSet extends AbstractSet<Integer>
|
||||
@Override // from AbstractSet<Integer>
|
||||
public boolean add (Integer i)
|
||||
{
|
||||
if (i == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
return add(i.intValue());
|
||||
return add(i.intValue()); // will NPE
|
||||
}
|
||||
|
||||
@Override // from AbstractSet<Integer>
|
||||
|
||||
Reference in New Issue
Block a user