Bug 196147

Summary: [Algorithm] Text compare viewer splits insertion into two changes
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Michael.Valenta
Version: 3.3Keywords: investigate
Target Milestone: 3.4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
CopyOfSuperTypeConstraintsCreator.txt
none
SuperTypeConstraintsCreator.txt none

Description Markus Keller CLA 2007-07-11 08:56:05 EDT
3.3 and I20070710-1416, was OK in 3.2.2

There are situations where the text compare viewer splits insertions into two changes. I'll attach two .txt files which show the difference.

In 3.2.2 and before, the added method endVisit(EnhancedForStatement) in CopyOfSuperTypeConstraintsCreator.txt was shown as a single insertion (good).
In 3.3, the insertion is shown as two separate insertions (rather hard to read).

This is not a Java compare problem (although the stripped-down example files contain Java code).
Comment 1 Markus Keller CLA 2007-07-11 08:56:57 EDT
Created attachment 73529 [details]
CopyOfSuperTypeConstraintsCreator.txt
Comment 2 Markus Keller CLA 2007-07-11 08:57:39 EDT
Created attachment 73530 [details]
SuperTypeConstraintsCreator.txt
Comment 3 Michael Valenta CLA 2007-08-09 16:37:41 EDT
This could be a feature of the new compare algorithm.
Comment 4 Markus Keller CLA 2007-11-23 06:00:47 EST
Hooray, the fix for bug 210688 also resolves this problem.
Comment 5 Michael Valenta CLA 2007-11-23 08:46:23 EST

*** This bug has been marked as a duplicate of bug 210688 ***