From d92ac530aaaadecd4f3625ad429fdf94af9777b1 Mon Sep 17 00:00:00 2001 From: dota17 Date: Wed, 13 Nov 2019 19:43:09 +0800 Subject: [PATCH] Fix some typo --- .../commons/collections4/deque/AbstractDequeTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/deque/AbstractDequeTest.java b/src/test/java/org/apache/commons/collections4/deque/AbstractDequeTest.java index a9540e4cc..a124ae393 100644 --- a/src/test/java/org/apache/commons/collections4/deque/AbstractDequeTest.java +++ b/src/test/java/org/apache/commons/collections4/deque/AbstractDequeTest.java @@ -335,7 +335,7 @@ public abstract class AbstractDequeTest extends AbstractCollectionTest { final int max = getFullElements().length; for (int i = 0; i < max; i++) { getCollection().pollLast(); - LinkedList list=(LinkedList) getConfirmed(); + LinkedList list = (LinkedList) getConfirmed(); list.removeLast(); verify(); } @@ -666,7 +666,7 @@ public abstract class AbstractDequeTest extends AbstractCollectionTest { /** * Tests {@link Deque#removeFirstOccurrence(Object o)}. */ - public void testDequeRemoveFirstOccurrence(){ + public void testDequeRemoveFirstOccurrence() { if (!isRemoveSupported()) { return; } @@ -692,7 +692,7 @@ public abstract class AbstractDequeTest extends AbstractCollectionTest { /** * Tests {@link Deque#removeLastOccurrence(Object o)}. */ - public void testDequeRemoveLastOccurrence(){ + public void testDequeRemoveLastOccurrence() { if (!isRemoveSupported()) { return; } @@ -719,7 +719,7 @@ public abstract class AbstractDequeTest extends AbstractCollectionTest { /** * Tests {@link Deque#descendingIterator()}. */ - public void testDescendingIterator(){ + public void testDescendingIterator() { if (!isAddSupported()) { return; }