commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1356967 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/
Date Tue, 03 Jul 2012 21:39:28 GMT
Author: tn
Date: Tue Jul  3 21:39:25 2012
New Revision: 1356967

URL: http://svn.apache.org/viewvc?rev=1356967&view=rev
Log:
Cleanup of keyvalue package.

Added:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package-info.java
      - copied, changed from r1356960, commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package.html
Removed:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package.html
Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractKeyValue.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntry.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultKeyValue.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultMapEntry.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/MultiKey.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/UnmodifiableMapEntry.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractKeyValue.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractKeyValue.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractKeyValue.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractKeyValue.java
Tue Jul  3 21:39:25 2012
@@ -23,12 +23,7 @@ import org.apache.commons.collections.Ke
  * and {@link java.util.Map.Entry Map.Entry} implementations.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author James Strachan
- * @author Michael A. Smith
- * @author Neil O'Toole
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public abstract class AbstractKeyValue<K, V> implements KeyValue<K, V> {
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntry.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntry.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntry.java
Tue Jul  3 21:39:25 2012
@@ -23,12 +23,7 @@ import java.util.Map;
  * {@link java.util.Map.Entry Map.Entry} implementations.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author James Strachan
- * @author Michael A. Smith
- * @author Neil O'Toole
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public abstract class AbstractMapEntry<K, V> extends AbstractKeyValue<K, V> implements
Map.Entry<K, V> {
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
Tue Jul  3 21:39:25 2012
@@ -25,9 +25,7 @@ import org.apache.commons.collections.Ke
  * added to a {@link java.util.Map.Entry Map.Entry}.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public abstract class AbstractMapEntryDecorator<K, V> implements Map.Entry<K, V>,
KeyValue<K, V> {
     

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultKeyValue.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultKeyValue.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultKeyValue.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultKeyValue.java
Tue Jul  3 21:39:25 2012
@@ -28,12 +28,7 @@ import org.apache.commons.collections.Ke
  * itself as a key or value.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author James Strachan
- * @author Michael A. Smith
- * @author Neil O'Toole
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public class DefaultKeyValue<K, V> extends AbstractKeyValue<K, V> {
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultMapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultMapEntry.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultMapEntry.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/DefaultMapEntry.java
Tue Jul  3 21:39:25 2012
@@ -21,16 +21,11 @@ import java.util.Map;
 import org.apache.commons.collections.KeyValue;
 
 /**
- * A restricted implementation of {@link java.util.Map.Entry} that prevents
- * the <code>Map.Entry</code> contract from being broken.
+ * A restricted implementation of {@link Map.Entry} that prevents
+ * the {@link Map.Entry} contract from being broken.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author James Strachan
- * @author Michael A. Smith
- * @author Neil O'Toole
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public final class DefaultMapEntry<K, V> extends AbstractMapEntry<K, V> {
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/MultiKey.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/MultiKey.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/MultiKey.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/MultiKey.java
Tue Jul  3 21:39:25 2012
@@ -40,10 +40,7 @@ import java.util.Arrays;
  * </pre>
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author Howard Lewis Ship
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public class MultiKey<K> implements Serializable {
     // This class could implement List, but that would confuse it's purpose
@@ -258,7 +255,7 @@ public class MultiKey<K> implements Seri
 
     /**
      * Calculate the hash code of the instance using the provided keys.
-     * @param keys
+     * @param keys the keys to calculate the hash code for
      */
     private void calculateHashCode(Object[] keys)
     {

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/TiedMapEntry.java
Tue Jul  3 21:39:25 2012
@@ -28,9 +28,7 @@ import org.apache.commons.collections.Ke
  * map, however this will probably mess up any iterators.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public class TiedMapEntry<K, V> implements Map.Entry<K, V>, KeyValue<K, V>,
Serializable {
 

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/UnmodifiableMapEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/UnmodifiableMapEntry.java?rev=1356967&r1=1356966&r2=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/UnmodifiableMapEntry.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/UnmodifiableMapEntry.java
Tue Jul  3 21:39:25 2012
@@ -26,9 +26,7 @@ import org.apache.commons.collections.Un
  * UnsupportedOperationException when <code>setValue</code> is called.
  *
  * @since Commons Collections 3.0
- * @version $Revision$
- *
- * @author Stephen Colebourne
+ * @version $Id$
  */
 public final class UnmodifiableMapEntry<K, V> extends AbstractMapEntry<K, V>
implements Unmodifiable {
 

Copied: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package-info.java
(from r1356960, commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package.html)
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package-info.java?p2=commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package-info.java&p1=commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package.html&r1=1356960&r2=1356967&rev=1356967&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package.html
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/package-info.java
Tue Jul  3 21:39:25 2012
@@ -1,30 +1,30 @@
-<!-- $Id$ -->
- <!--
-   Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
-  -->
-<BODY>
-<p>
-This package contains implementations of collection and map related key/value classes.
-These are usually used in maps, however they can be used as data holders in any collection.
-<p>
-The following key/value designs are included:
-<ul>
-<li>Map Entry - various map entry implementations
-<li>KeyValue - a key and value pair, without map entry semantics
-<li>MultiKey - a holder of multiple keys tied together
-</ul>
-</pre>
-</BODY>
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+/**
+ * This package contains implementations of collection and map related key/value classes.
+ * These are usually used in maps, however they can be used as data holders in any collection.
+ * <p>
+ * The following key/value designs are included:
+ * <ul>
+ *   <li>Map Entry - various map entry implementations
+ *   <li>KeyValue - a key and value pair, without map entry semantics
+ *   <li>MultiKey - a holder of multiple keys tied together
+ * </ul>
+ *
+ * @version $Id$
+ */
+package org.apache.commons.collections.keyvalue;



Mime
View raw message