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 2018/07/07 21:29:45 UTC

commons-collections git commit: PMD: Avoid modifiers which are implied by the context.

Repository: commons-collections
Updated Branches:
  refs/heads/master c4190304b -> bce159a0c


PMD: Avoid modifiers which are implied by the context.

Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/bce159a0
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/bce159a0
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/bce159a0

Branch: refs/heads/master
Commit: bce159a0c905f673b8e0e4c9899543a812fb904d
Parents: c419030
Author: Gary Gregory <ga...@gmail.com>
Authored: Sat Jul 7 15:29:42 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Sat Jul 7 15:29:42 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/collections4/CollectionUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/bce159a0/src/main/java/org/apache/commons/collections4/CollectionUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/collections4/CollectionUtils.java b/src/main/java/org/apache/commons/collections4/CollectionUtils.java
index b281f92..9a531f4 100644
--- a/src/main/java/org/apache/commons/collections4/CollectionUtils.java
+++ b/src/main/java/org/apache/commons/collections4/CollectionUtils.java
@@ -111,7 +111,7 @@ public class CollectionUtils {
             return getFreq(obj, cardinalityB);
         }
 
-        private final int getFreq(final Object obj, final Map<?, Integer> freqMap) {
+        private int getFreq(final Object obj, final Map<?, Integer> freqMap) {
             final Integer count = freqMap.get(obj);
             if (count != null) {
                 return count.intValue();