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-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org

Reply via email to