Fix some typo

This commit is contained in:
dota17 2019-11-13 19:43:09 +08:00
parent faafcabf7e
commit d92ac530aa
1 changed files with 4 additions and 4 deletions

View File

@ -335,7 +335,7 @@ public abstract class AbstractDequeTest<E> extends AbstractCollectionTest<E> {
final int max = getFullElements().length; final int max = getFullElements().length;
for (int i = 0; i < max; i++) { for (int i = 0; i < max; i++) {
getCollection().pollLast(); getCollection().pollLast();
LinkedList<E> list=(LinkedList<E>) getConfirmed(); LinkedList<E> list = (LinkedList<E>) getConfirmed();
list.removeLast(); list.removeLast();
verify(); verify();
} }
@ -666,7 +666,7 @@ public abstract class AbstractDequeTest<E> extends AbstractCollectionTest<E> {
/** /**
* Tests {@link Deque#removeFirstOccurrence(Object o)}. * Tests {@link Deque#removeFirstOccurrence(Object o)}.
*/ */
public void testDequeRemoveFirstOccurrence(){ public void testDequeRemoveFirstOccurrence() {
if (!isRemoveSupported()) { if (!isRemoveSupported()) {
return; return;
} }
@ -692,7 +692,7 @@ public abstract class AbstractDequeTest<E> extends AbstractCollectionTest<E> {
/** /**
* Tests {@link Deque#removeLastOccurrence(Object o)}. * Tests {@link Deque#removeLastOccurrence(Object o)}.
*/ */
public void testDequeRemoveLastOccurrence(){ public void testDequeRemoveLastOccurrence() {
if (!isRemoveSupported()) { if (!isRemoveSupported()) {
return; return;
} }
@ -719,7 +719,7 @@ public abstract class AbstractDequeTest<E> extends AbstractCollectionTest<E> {
/** /**
* Tests {@link Deque#descendingIterator()}. * Tests {@link Deque#descendingIterator()}.
*/ */
public void testDescendingIterator(){ public void testDescendingIterator() {
if (!isAddSupported()) { if (!isAddSupported()) {
return; return;
} }