Annotate overrides

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2804 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
karma@deadmoose.com
2010-08-17 17:19:36 +00:00
parent 8a45193748
commit 500e107857
3 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ public class HashIntSet extends AbstractIntSet
// we shouldn't get here
throw new RuntimeException("Ran out of elements getting next");
}
public void remove () {
@Override public void remove () {
checkConcurrentModification();
if (_idx == 0) {
throw new IllegalStateException("Next method not yet called");
@@ -25,11 +25,13 @@ import com.samskivert.util.ArrayIntSet;
public class ArrayIntSetTest extends IntSetTestBase
{
@Override
protected AbstractIntSet createSet ()
{
return new ArrayIntSet();
}
@Override
protected AbstractIntSet createSet (int[] values)
{
return new ArrayIntSet(values);
@@ -25,11 +25,13 @@ import com.samskivert.util.HashIntSet;
public class HashIntSetTest extends IntSetTestBase
{
@Override
protected AbstractIntSet createSet ()
{
return new HashIntSet();
}
@Override
protected AbstractIntSet createSet (int[] values)
{
return new HashIntSet(values);