commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1683016 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java
Date Mon, 01 Jun 2015 22:40:56 GMT
Author: tn
Date: Mon Jun  1 22:40:56 2015
New Revision: 1683016

URL: http://svn.apache.org/r1683016
Log:
Fix javadoc problem.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java?rev=1683016&r1=1683015&r2=1683016&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/map/LRUMap.java
Mon Jun  1 22:40:56 2015
@@ -117,7 +117,6 @@ public class LRUMap<K, V>
      * load factor.
      *
      * @param maxSize  the maximum size of the map
-     * @param initialSize  the initial size of the map
      * @param loadFactor  the load factor
      * @throws IllegalArgumentException if the maximum size is less than one
      * @throws IllegalArgumentException if the load factor is less than zero
@@ -131,6 +130,7 @@ public class LRUMap<K, V>
      * load factor.
      *
      * @param maxSize  the maximum size of the map
+     * @param initialSize  the initial size of the map
      * @param loadFactor  the load factor
      * @throws IllegalArgumentException if the maximum size is less than one
      * @throws IllegalArgumentException if the initial size is negative or larger than the
maximum size
@@ -167,7 +167,11 @@ public class LRUMap<K, V>
      * @throws IllegalArgumentException if the load factor is less than zero
      * @since 4.1
      */
-    public LRUMap(final int maxSize, final int initialSize, final float loadFactor, final
boolean scanUntilRemovable) {
+    public LRUMap(final int maxSize,
+                  final int initialSize,
+                  final float loadFactor,
+                  final boolean scanUntilRemovable) {
+
         super(initialSize, loadFactor);
         if (maxSize < 1) {
             throw new IllegalArgumentException("LRUMap max size must be greater than 0");



Mime
View raw message