garydgregory commented on a change in pull request #91: Add drain method to 
CollectionUtils
URL: https://github.com/apache/commons-collections/pull/91#discussion_r339727501
 
 

 ##########
 File path: 
src/test/java/org/apache/commons/collections4/CollectionUtilsTest.java
 ##########
 @@ -1472,6 +1472,101 @@ public void testRetainAll() {
         } // this is what we want
     }
 
+    @Test
+    public void testRemoveRange() {
+        List<Integer> list = new ArrayList<Integer>();
 
 Review comment:
   FYI: You don't need to over specify generics in Java 8 anymore, so:
   ```
   List<Integer> list = new ArrayList<Integer>();
   ```
   can simply be:
   ```
   List<Integer> list = new ArrayList<>();
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to