You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/07/05 16:52:10 UTC

[commons-collections] branch master updated: Unnecessary @SuppressWarnings("unchecked").

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


The following commit(s) were added to refs/heads/master by this push:
     new f12470c  Unnecessary @SuppressWarnings("unchecked").
f12470c is described below

commit f12470cd6cae4abc55b08cc49b0ef2d437f3432a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jul 5 12:52:07 2019 -0400

    Unnecessary @SuppressWarnings("unchecked").
---
 .../org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
index 06cb5e1..201d11d 100644
--- a/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
+++ b/src/main/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMap.java
@@ -444,7 +444,6 @@ public abstract class AbstractMultiValuedMap<K, V> implements MultiValuedMap<K,
         }
 
         @Override
-        @SuppressWarnings("unchecked")
         public Iterator<V> iterator() {
             final Collection<V> coll = getMapping();
             if (coll == null) {