commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1635351 - /commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java
Date Thu, 30 Oct 2014 00:22:14 GMT
Author: ggregory
Date: Thu Oct 30 00:22:14 2014
New Revision: 1635351

URL: http://svn.apache.org/r1635351
Log:
Statement unnecessarily nested within else clause.

Modified:
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java?rev=1635351&r1=1635350&r2=1635351&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/trie/UnmodifiableTrieTest.java
Thu Oct 30 00:22:14 2014
@@ -100,9 +100,8 @@ public class UnmodifiableTrieTest<V> ext
                     prefix + "bulkTestTailMap.bulkTestMapEntrySet.testCollectionToArray2",
                     prefix + "bulkTestSubMap.bulkTestMapEntrySet.testCollectionToArray2"
             };
-        } else {
-            return null;
         }
+        return null;
     }
 
     @Override



Mime
View raw message