Remove redundant keywords

This commit is contained in:
Gary Gregory 2024-07-11 14:50:24 -04:00
parent f46a46b535
commit d97bab862a
9 changed files with 29 additions and 29 deletions

View File

@ -116,13 +116,13 @@ public abstract class AbstractBidiMapTest<K, V> extends AbstractIterableMapTest<
@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
@ -145,12 +145,12 @@ public abstract class AbstractBidiMapTest<K, V> extends AbstractIterableMapTest<
@Override
public boolean supportsRemove() {
return AbstractBidiMapTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override
public boolean supportsSetValue() {
return AbstractBidiMapTest.this.isSetValueSupported();
return isSetValueSupported();
}
@Override

View File

@ -46,7 +46,7 @@ public abstract class AbstractOrderedBidiMapTest<K, V> extends AbstractBidiMapTe
@Override
public V[] addSetValues() {
return AbstractOrderedBidiMapTest.this.getNewSampleValues();
return getNewSampleValues();
}
@Override
@ -75,12 +75,12 @@ public abstract class AbstractOrderedBidiMapTest<K, V> extends AbstractBidiMapTe
@Override
public boolean supportsRemove() {
return AbstractOrderedBidiMapTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override
public boolean supportsSetValue() {
return AbstractOrderedBidiMapTest.this.isSetValueSupported();
return isSetValueSupported();
}
@Override

View File

@ -136,7 +136,7 @@ public abstract class AbstractListTest<E> extends AbstractCollectionTest<E> {
@Override
public E addSetValue() {
return AbstractListTest.this.getOtherElements()[0];
return getOtherElements()[0];
}
@Override
@ -153,12 +153,12 @@ public abstract class AbstractListTest<E> extends AbstractCollectionTest<E> {
@Override
public boolean supportsAdd() {
return AbstractListTest.this.isAddSupported();
return isAddSupported();
}
@Override
public boolean supportsRemove() {
return AbstractListTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override

View File

@ -43,13 +43,13 @@ public abstract class AbstractIterableMapTest<K, V> extends AbstractMapTest<K, V
@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
@ -77,12 +77,12 @@ public abstract class AbstractIterableMapTest<K, V> extends AbstractMapTest<K, V
@Override
public boolean supportsRemove() {
return AbstractIterableMapTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override
public boolean supportsSetValue() {
return AbstractIterableMapTest.this.isSetValueSupported();
return isSetValueSupported();
}
@Override

View File

@ -49,7 +49,7 @@ public abstract class AbstractOrderedMapTest<K, V> extends AbstractIterableMapTe
@Override
public Map<K, V> getConfirmedMap() {
// assumes makeFullMapIterator() called first
return AbstractOrderedMapTest.this.getConfirmed();
return getConfirmed();
}
@Override
@ -77,12 +77,12 @@ public abstract class AbstractOrderedMapTest<K, V> extends AbstractIterableMapTe
@Override
public boolean supportsRemove() {
return AbstractOrderedMapTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override
public boolean supportsSetValue() {
return AbstractOrderedMapTest.this.isSetValueSupported();
return isSetValueSupported();
}
@Override

View File

@ -51,13 +51,13 @@ public class Flat3MapTest<K, V> extends AbstractIterableMapTest<K, V> {
@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
@ -80,12 +80,12 @@ public class Flat3MapTest<K, V> extends AbstractIterableMapTest<K, V> {
@Override
public boolean supportsRemove() {
return Flat3MapTest.this.isRemoveSupported();
return isRemoveSupported();
}
@Override
public boolean supportsSetValue() {
return Flat3MapTest.this.isSetValueSupported();
return isSetValueSupported();
}
@Override

View File

@ -45,7 +45,7 @@ public class LinkedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public K[] getFullElements() {
return LinkedMapTest.this.getSampleKeys();
return getSampleKeys();
}
@Override
@ -55,7 +55,7 @@ public class LinkedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public boolean isNullSupported() {
return LinkedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}
@Override

View File

@ -41,7 +41,7 @@ public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public K[] getFullElements() {
return ListOrderedMap2Test.this.getSampleKeys();
return getSampleKeys();
}
@Override
@ -51,7 +51,7 @@ public class ListOrderedMap2Test<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public boolean isNullSupported() {
return ListOrderedMap2Test.this.isAllowNullKey();
return isAllowNullKey();
}
@Override

View File

@ -47,7 +47,7 @@ public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public K[] getFullElements() {
return ListOrderedMapTest.this.getSampleKeys();
return getSampleKeys();
}
@Override
@ -57,7 +57,7 @@ public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public boolean isNullSupported() {
return ListOrderedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}
@Override
@ -95,7 +95,7 @@ public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public V[] getFullElements() {
return ListOrderedMapTest.this.getSampleValues();
return getSampleValues();
}
@Override
@ -105,7 +105,7 @@ public class ListOrderedMapTest<K, V> extends AbstractOrderedMapTest<K, V> {
@Override
public boolean isNullSupported() {
return ListOrderedMapTest.this.isAllowNullKey();
return isAllowNullKey();
}
@Override