portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r1055932 - /portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java
Date Thu, 06 Jan 2011 16:31:47 GMT
Author: vkumar
Date: Thu Jan  6 16:31:46 2011
New Revision: 1055932

URL: http://svn.apache.org/viewvc?rev=1055932&view=rev
Log:
[JS2-1228] Fixing the recursive issue reported by Robin

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java?rev=1055932&r1=1055931&r2=1055932&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-capability/src/main/java/org/apache/jetspeed/capabilities/impl/MimeTypeImpl.java
Thu Jan  6 16:31:46 2011
@@ -84,9 +84,9 @@ public class MimeTypeImpl implements Mim
     	{
     		return false;
     	}
-    	if (this.equals(object))
+    	if (this == object)
     		return true;
-// Don't check the ID - id is only set through OJB so this would not recognize equality correctly

+// Don't check the ID - id is only set through OJB so this would not recognize equality correctly
 /*    	if (mimeTypeId != ((MimeType)object).getMimetypeId())
     		return false;
 */



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message