commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1032017 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java
Date Sat, 06 Nov 2010 12:06:38 GMT
Author: sebb
Date: Sat Nov  6 12:06:38 2010
New Revision: 1032017

URL: http://svn.apache.org/viewvc?rev=1032017&view=rev
Log:
Javadoc; annotations

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java?rev=1032017&r1=1032016&r2=1032017&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/util/Pair.java Sat Nov
 6 12:06:38 2010
@@ -18,9 +18,6 @@ package org.apache.commons.math.util;
 
 /**
  * Generic pair.
- * It is provided as a replacement for the standard
- * {@code AbstractMap.SimpleEntry} that is available only in Java 1.6
- * and later.
  * Immutable class.
  *
  * @param <K> Key type.
@@ -82,6 +79,7 @@ public class Pair<K, V> {
      * @return {@code true} if the given object is also a map entry and
      * the two entries represent the same mapping.
      */
+    @Override
     public boolean equals(Object o) {
         if (o == null) {
             return false;



Mime
View raw message