Fix some typo
This commit is contained in:
parent
faafcabf7e
commit
d92ac530aa
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue