commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [commons-collections] 01/02: Remove trailing white spaces on all lines.
Date Wed, 18 Dec 2019 20:55:30 GMT
This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git

commit 45763ba694a6186bb9feada08873892bb35fd662
Author: Gary Gregory <garydgregory@gmail.com>
AuthorDate: Wed Dec 18 15:28:39 2019 -0500

    Remove trailing white spaces on all lines.
---
 src/main/java/org/apache/commons/collections4/IteratorUtils.java  | 2 +-
 src/main/java/org/apache/commons/collections4/SetUtils.java       | 2 +-
 .../collections4/collection/TransformedCollectionTest.java        | 2 +-
 .../org/apache/commons/collections4/map/DefaultedMapTest.java     | 4 ++--
 .../org/apache/commons/collections4/map/LazySortedMapTest.java    | 6 +++---
 .../apache/commons/collections4/map/PredicatedSortedMapTest.java  | 8 ++++----
 .../commons/collections4/multimap/ArrayListValuedHashMapTest.java | 2 +-
 .../apache/commons/collections4/queue/CircularFifoQueueTest.java  | 2 +-
 .../apache/commons/collections4/queue/UnmodifiableQueueTest.java  | 2 +-
 9 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/main/java/org/apache/commons/collections4/IteratorUtils.java b/src/main/java/org/apache/commons/collections4/IteratorUtils.java
index 29296a9..bf389be 100644
--- a/src/main/java/org/apache/commons/collections4/IteratorUtils.java
+++ b/src/main/java/org/apache/commons/collections4/IteratorUtils.java
@@ -1190,7 +1190,7 @@ public class IteratorUtils {
      */
     public static <E> E forEachButLast(final Iterator<E> iterator, final Closure<?
super E> closure) {
         Objects.requireNonNull(closure, "closure");
-        
+
         if (iterator != null) {
             while (iterator.hasNext()) {
                 final E element = iterator.next();
diff --git a/src/main/java/org/apache/commons/collections4/SetUtils.java b/src/main/java/org/apache/commons/collections4/SetUtils.java
index 658af05..97e46e5 100644
--- a/src/main/java/org/apache/commons/collections4/SetUtils.java
+++ b/src/main/java/org/apache/commons/collections4/SetUtils.java
@@ -159,7 +159,7 @@ public class SetUtils {
     public static <E> SetView<E> disjunction(final Set<? extends E> setA,
final Set<? extends E> setB) {
         Objects.requireNonNull(setA, "setA");
         Objects.requireNonNull(setB, "setB");
-        
+
         final SetView<E> aMinusB = difference(setA, setB);
         final SetView<E> bMinusA = difference(setB, setA);
 
diff --git a/src/test/java/org/apache/commons/collections4/collection/TransformedCollectionTest.java
b/src/test/java/org/apache/commons/collections4/collection/TransformedCollectionTest.java
index 172d6f8..cd81550 100644
--- a/src/test/java/org/apache/commons/collections4/collection/TransformedCollectionTest.java
+++ b/src/test/java/org/apache/commons/collections4/collection/TransformedCollectionTest.java
@@ -39,7 +39,7 @@ public class TransformedCollectionTest extends AbstractCollectionTest<Object>
{
             return Integer.valueOf((String) input);
         }
     }
-    
+
     private static class ToLowerCase implements Transformer<Object, Object> {
         @Override
         public Object transform(final Object input) {
diff --git a/src/test/java/org/apache/commons/collections4/map/DefaultedMapTest.java b/src/test/java/org/apache/commons/collections4/map/DefaultedMapTest.java
index 5c0da38..f047f2d 100644
--- a/src/test/java/org/apache/commons/collections4/map/DefaultedMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/map/DefaultedMapTest.java
@@ -138,7 +138,7 @@ public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K,
V> {
          } catch (NullPointerException e) {
              // Expected
          }
-    
+
          try {
              DefaultedMap.defaultedMap((Map<K, V>) null, nullFactory);
              fail("Expecting NullPointerException");
@@ -152,7 +152,7 @@ public class DefaultedMapTest<K, V> extends AbstractIterableMapTest<K,
V> {
          } catch (NullPointerException e) {
              // Expected
          }
-    
+
          try {
              DefaultedMap.defaultedMap((Map<K, V>) null, nullTransformer);
              fail("Expecting NullPointerException");
diff --git a/src/test/java/org/apache/commons/collections4/map/LazySortedMapTest.java b/src/test/java/org/apache/commons/collections4/map/LazySortedMapTest.java
index 4a67ec8..8b0d275 100644
--- a/src/test/java/org/apache/commons/collections4/map/LazySortedMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/map/LazySortedMapTest.java
@@ -45,9 +45,9 @@ public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K,
V> {
 			return arg1.compareTo(arg0);
 		}
 	}
-	
+
     private static final Factory<Integer> oneFactory = FactoryUtils.constantFactory(1);
-    
+
     protected final Comparator<String> reverseStringComparator = new ReverseStringComparator();
 
     public LazySortedMapTest(final String testName) {
@@ -105,7 +105,7 @@ public class LazySortedMapTest<K, V> extends AbstractSortedMapTest<K,
V> {
         assertTrue("natural order, so comparator should be null",
             c == null);
     }
-    
+
     public void testReverseSortOrder() {
         final SortedMap<String, Number> map = lazySortedMap(new ConcurrentSkipListMap<String,
Number>(reverseStringComparator), oneFactory);
         map.put("A",  5);
diff --git a/src/test/java/org/apache/commons/collections4/map/PredicatedSortedMapTest.java
b/src/test/java/org/apache/commons/collections4/map/PredicatedSortedMapTest.java
index dd059ab..730b27a 100644
--- a/src/test/java/org/apache/commons/collections4/map/PredicatedSortedMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/map/PredicatedSortedMapTest.java
@@ -41,11 +41,11 @@ public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K,
V> {
 			return ((String) arg1).compareTo((String)arg0);
 		}
 	}
-	
+
     protected static final Predicate<Object> truePredicate = TruePredicate.truePredicate();
 
     protected static final Predicate<Object> testPredicate = o -> o instanceof String;
-    
+
     protected final Comparator<K> reverseStringComparator = new ReverseStringComparator();
 
     public PredicatedSortedMapTest(final String testName) {
@@ -66,7 +66,7 @@ public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K,
V> {
     public SortedMap<K, V> makeTestMap() {
         return decorateMap(new TreeMap<K, V>(), testPredicate, testPredicate);
     }
-    
+
     public SortedMap<K, V> makeTestMapWithComparator() {
         return decorateMap(new ConcurrentSkipListMap<K, V>(reverseStringComparator),
testPredicate, testPredicate);
     }
@@ -178,7 +178,7 @@ public class PredicatedSortedMapTest<K, V> extends AbstractSortedMapTest<K,
V> {
         assertTrue("natural order, so comparator should be null",
             c == null);
     }
-    
+
     @SuppressWarnings("unchecked")
     public void testReverseSortOrder() {
         final SortedMap<K, V> map = makeTestMapWithComparator();
diff --git a/src/test/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMapTest.java
b/src/test/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMapTest.java
index 0cbfbb4..be9ce42 100644
--- a/src/test/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMapTest.java
+++ b/src/test/java/org/apache/commons/collections4/multimap/ArrayListValuedHashMapTest.java
@@ -215,7 +215,7 @@ public class ArrayListValuedHashMapTest<K, V> extends AbstractMultiValuedMapTest
         assertEquals(3, listMap.get((K) "A").indexOf("Q"));
         assertEquals(4, listMap.get((K) "A").lastIndexOf("Q"));
         assertEquals(-1, listMap.get((K) "A").lastIndexOf("A"));
-        
+
         List<V> list2 = new ArrayList<>();
         listMap.get((K) "B").addAll(0, list2);
         assertEquals("{A=[W, X, F, Q, Q, L]}", listMap.toString());
diff --git a/src/test/java/org/apache/commons/collections4/queue/CircularFifoQueueTest.java
b/src/test/java/org/apache/commons/collections4/queue/CircularFifoQueueTest.java
index 79cefea..a8751c9 100644
--- a/src/test/java/org/apache/commons/collections4/queue/CircularFifoQueueTest.java
+++ b/src/test/java/org/apache/commons/collections4/queue/CircularFifoQueueTest.java
@@ -466,7 +466,7 @@ public class CircularFifoQueueTest<E> extends AbstractQueueTest<E>
{
         }
         fail();
     }
-	
+
 	@Override
     public String getCompatibilityVersion() {
         return "4";
diff --git a/src/test/java/org/apache/commons/collections4/queue/UnmodifiableQueueTest.java
b/src/test/java/org/apache/commons/collections4/queue/UnmodifiableQueueTest.java
index fe300d3..d769c29 100644
--- a/src/test/java/org/apache/commons/collections4/queue/UnmodifiableQueueTest.java
+++ b/src/test/java/org/apache/commons/collections4/queue/UnmodifiableQueueTest.java
@@ -105,7 +105,7 @@ public class UnmodifiableQueueTest<E> extends AbstractQueueTest<E>
{
             fail();
         } catch (final NullPointerException ex) {}
     }
-	
+
 	public void testOffer() {
         Queue<E> queue = makeFullCollection();
         E e = null;


Mime
View raw message