[xwiki-notifications] [Issue] Assigned: (XWIKI-2161) Inconsistent diff API
Sergiu Dumitriu (JIRA)
jira at xwiki.org
Fri Feb 29 05:33:21 CET 2008
[ http://jira.xwiki.org/jira/browse/XWIKI-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergiu Dumitriu reassigned XWIKI-2161:
--------------------------------------
Assignee: Sergiu Dumitriu
> Inconsistent diff API
> ---------------------
>
> Key: XWIKI-2161
> URL: http://jira.xwiki.org/jira/browse/XWIKI-2161
> Project: XWiki Core
> Issue Type: Bug
> Components: APIs, Core
> Affects Versions: 1.3 RC1
> Reporter: Sergiu Dumitriu
> Assigned To: Sergiu Dumitriu
>
> The various diff methods (doc.getContentDiff, doc.getMetaDataDiff, doc.getObjectDiff, doc.getClassDif, obj.getDiff, class.getDiff...) don't treat the arguments the same way. If there are 2 arguments, some methods compute the diff between the first and the second arguments, while other do that the other way around. If there is only one argument, some methods compute the diff between "this" and the argument, while others do the other way around.
> These methods should be changed so that they behave the same way:
> - 2 arguments means diff from the first argument to the second argument (get differences between the first and the second versions)
> - 1 argument means diff from the argument to this (get differences from the other version)
--
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
More information about the notifications
mailing list