Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-compare-dev] Query on finding differences in already compared nodes.

I'm using Differencer to do a two-way compare on java source files. When the Differencer returns the compared nodes with a flag indicating there is a change. How to find the differences between those to two already compared nodes.

Just extract the differing lines as Strings and perform another differencing pass on them that uses an IRangeDifferencer that is token, word, or character oriented (instead of line oriented).

--andre


Back to the top