Skip to content

Commit

Permalink
Remove redundant keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jul 11, 2024
1 parent f46a46b commit d97bab8
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ public TestBidiMapIterator() {

@Override
public V[] addSetValues() {
return AbstractBidiMapTest.this.getNewSampleValues();
return getNewSampleValues();
}

@Override
public Map<K, V> getConfirmedMap() {
// assumes makeFullMapIterator() called first
return AbstractBidiMapTest.this.getConfirmed();
return getConfirmed();
}

@Override
Expand All @@ -145,12 +145,12 @@ public MapIterator<K, V> makeObject() {

@Override
public boolean supportsRemove() {
return AbstractBidiMapTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
public boolean supportsSetValue() {
return AbstractBidiMapTest.this.isSetValueSupported();
return isSetValueSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public TestBidiOrderedMapIterator() {

@Override
public V[] addSetValues() {
return AbstractOrderedBidiMapTest.this.getNewSampleValues();
return getNewSampleValues();
}

@Override
Expand Down Expand Up @@ -75,12 +75,12 @@ public MapIterator<K, V> makeObject() {

@Override
public boolean supportsRemove() {
return AbstractOrderedBidiMapTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
public boolean supportsSetValue() {
return AbstractOrderedBidiMapTest.this.isSetValueSupported();
return isSetValueSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public TestListIterator() {

@Override
public E addSetValue() {
return AbstractListTest.this.getOtherElements()[0];
return getOtherElements()[0];
}

@Override
Expand All @@ -153,12 +153,12 @@ public ListIterator<E> makeObject() {

@Override
public boolean supportsAdd() {
return AbstractListTest.this.isAddSupported();
return isAddSupported();
}

@Override
public boolean supportsRemove() {
return AbstractListTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public InnerTestMapIterator() {

@Override
public V[] addSetValues() {
return AbstractIterableMapTest.this.getNewSampleValues();
return getNewSampleValues();
}

@Override
public Map<K, V> getConfirmedMap() {
// assumes makeFullMapIterator() called first
return AbstractIterableMapTest.this.getConfirmed();
return getConfirmed();
}

@Override
Expand Down Expand Up @@ -77,12 +77,12 @@ public MapIterator<K, V> makeObject() {

@Override
public boolean supportsRemove() {
return AbstractIterableMapTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
public boolean supportsSetValue() {
return AbstractIterableMapTest.this.isSetValueSupported();
return isSetValueSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public InnerTestOrderedMapIterator() {
@Override
public Map<K, V> getConfirmedMap() {
// assumes makeFullMapIterator() called first
return AbstractOrderedMapTest.this.getConfirmed();
return getConfirmed();
}

@Override
Expand Down Expand Up @@ -77,12 +77,12 @@ public OrderedMapIterator<K, V> makeObject() {

@Override
public boolean supportsRemove() {
return AbstractOrderedMapTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
public boolean supportsSetValue() {
return AbstractOrderedMapTest.this.isSetValueSupported();
return isSetValueSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ public TestFlatMapIterator() {

@Override
public V[] addSetValues() {
return Flat3MapTest.this.getNewSampleValues();
return getNewSampleValues();
}

@Override
public Map<K, V> getConfirmedMap() {
// assumes makeFullMapIterator() called first
return Flat3MapTest.this.getConfirmed();
return getConfirmed();
}

@Override
Expand All @@ -80,12 +80,12 @@ public MapIterator<K, V> makeObject() {

@Override
public boolean supportsRemove() {
return Flat3MapTest.this.isRemoveSupported();
return isRemoveSupported();
}

@Override
public boolean supportsSetValue() {
return Flat3MapTest.this.isSetValueSupported();
return isSetValueSupported();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class TestListView extends AbstractListTest<K> {

@Override
public K[] getFullElements() {
return LinkedMapTest.this.getSampleKeys();
return getSampleKeys();
}

@Override
Expand All @@ -55,7 +55,7 @@ public boolean isAddSupported() {

@Override
public boolean isNullSupported() {
return LinkedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class TestListView extends AbstractListTest<K> {

@Override
public K[] getFullElements() {
return ListOrderedMap2Test.this.getSampleKeys();
return getSampleKeys();
}

@Override
Expand All @@ -51,7 +51,7 @@ public boolean isAddSupported() {

@Override
public boolean isNullSupported() {
return ListOrderedMap2Test.this.isAllowNullKey();
return isAllowNullKey();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class TestKeyListView extends AbstractListTest<K> {

@Override
public K[] getFullElements() {
return ListOrderedMapTest.this.getSampleKeys();
return getSampleKeys();
}

@Override
Expand All @@ -57,7 +57,7 @@ public boolean isAddSupported() {

@Override
public boolean isNullSupported() {
return ListOrderedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}

@Override
Expand Down Expand Up @@ -95,7 +95,7 @@ public class TestValueListView extends AbstractListTest<V> {

@Override
public V[] getFullElements() {
return ListOrderedMapTest.this.getSampleValues();
return getSampleValues();
}

@Override
Expand All @@ -105,7 +105,7 @@ public boolean isAddSupported() {

@Override
public boolean isNullSupported() {
return ListOrderedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}

@Override
Expand Down

0 comments on commit d97bab8

Please sign in to comment.