XWikiDocument.equals always returns false if a document is compared to itself
-----------------------------------------------------------------------------

                 Key: XWIKI-2052
                 URL: http://jira.xwiki.org/jira/browse/XWIKI-2052
             Project: XWiki Platform
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.3 M1, 1.2.1
            Reporter: Jerome Velociter


XWikiDocument.equals will always return false for a document compared to 
itself, because of the following : (XWikiDocument.java#1994)

if (isMinorEdit() == doc.isMinorEdit()) {
       return false;
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to