geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1130391 - /geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java
Date Thu, 02 Jun 2011 03:11:58 GMT
Author: genspring
Date: Thu Jun  2 03:11:58 2011
New Revision: 1130391

URL: http://svn.apache.org/viewvc?rev=1130391&view=rev
Log:
GERONIMO-5989 CDI EAR deployment issue

name can't identify a module well in 3.0.   return moduleURI.hashCode() in hashCode() method
to fix this.

Modified:
    geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java

Modified: geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java?rev=1130391&r1=1130390&r2=1130391&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java
(original)
+++ geronimo/server/trunk/plugins/j2ee/geronimo-j2ee-builder/src/main/java/org/apache/geronimo/j2ee/deployment/Module.java
Thu Jun  2 03:11:58 2011
@@ -203,7 +203,7 @@ public abstract class Module<T, U> {
     }
 
     public int hashCode() {
-        return name.hashCode();
+        return moduleURI.hashCode();
     }
 
     public boolean equals(Object obj) {



Mime
View raw message