commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r905166 - in /commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang: IDKey.java builder/HashCodeBuilder.java builder/IDKey.java
Date Mon, 01 Feb 2010 01:39:09 GMT
Author: niallp
Date: Mon Feb  1 01:39:08 2010
New Revision: 905166

URL: http://svn.apache.org/viewvc?rev=905166&view=rev
Log:
Port r753619 & r753620 to 2.x branch - Make IDKey package private and move to builder
package

Added:
    commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/IDKey.java
      - copied, changed from r905157, commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/IDKey.java
Removed:
    commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/IDKey.java
Modified:
    commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/HashCodeBuilder.java

Modified: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/HashCodeBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/HashCodeBuilder.java?rev=905166&r1=905165&r2=905166&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/HashCodeBuilder.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/HashCodeBuilder.java
Mon Feb  1 01:39:08 2010
@@ -25,7 +25,6 @@
 import java.util.Set;
 
 import org.apache.commons.lang.ArrayUtils;
-import org.apache.commons.lang.IDKey;
 
 /**
  * <p>

Copied: commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/IDKey.java
(from r905157, commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/IDKey.java)
URL: http://svn.apache.org/viewvc/commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/IDKey.java?p2=commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/IDKey.java&p1=commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/IDKey.java&r1=905157&r2=905166&rev=905166&view=diff
==============================================================================
--- commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/IDKey.java
(original)
+++ commons/proper/lang/branches/LANG_2_X/src/main/java/org/apache/commons/lang/builder/IDKey.java
Mon Feb  1 01:39:08 2010
@@ -16,19 +16,20 @@
  * 
  */
 
-package org.apache.commons.lang;
+package org.apache.commons.lang.builder;
 
 // adapted from org.apache.axis.utils.IDKey
 
 /**
-* Wrap an identity key (System.identityHashCode()) 
-* so that an object can only be equal() to itself.
-* 
-* This is necessary to disambiguate the occasional duplicate
-* identityHashCodes that can occur.
-*  
-*/ 
-public final class IDKey {
+ * Wrap an identity key (System.identityHashCode()) 
+ * so that an object can only be equal() to itself.
+ * 
+ * This is necessary to disambiguate the occasional duplicate
+ * identityHashCodes that can occur.
+ * 
+ * @author Apache Software Foundation
+ */ 
+final class IDKey {
         private final Object value;
         private final int id;
 



Mime
View raw message