Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-compare-dev] Issue refreshed: structure comparison with content in non-leaf nodes

Hello.

	This may be considered as a refreshment of the issue brought up
in the
http://dev.eclipse.org/mhonarc/lists/platform-compare-dev/msg00061.html
post. 

	I feel that it is quite common a situation to want to compare
not only leaf nodes in the trees but intermediate nodes as well. The
most obvious case is comparison of two resource structures regarding
each node's modification time (or some other property). Using the
Differencer currently does not allow to conduct such a comparison.
	It seems that the simplest way to solve the problem would be to
let clients tune the behavior of the traverse() method, that is, to
define whether to take the value of the "content" flag into
consideration or not. The latter would enable comparison of all the
intermediate nodes providing the appropriate difference tree structure.
Providing that, it would not be difficult to implement proper navigation
between differences. Hope a reasonable solution can be found.

Best Wishes, 
    Alexander Pavlov
 


Back to the top