Bug 52349

Summary: Compare with -> Other Element "broken"
Product: [Eclipse Project] JDT Reporter: Nico Seessle <nico>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: andre_weinand
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Nico Seessle CLA 2004-02-18 05:33:07 EST
Eclipse 3.0M7

Create a new Project containing the following class:

public class Test2 {

    public String foo(int i) {
        if (i == 2) {
            return "Foo";
        } else {
            return "Bar";
        }
    }

    public String bar(int i) {
        if (i == 1) {
            return "Foo";
        } else {
            return "Bar";
        }
    }
}

Select both methods in the outline view and select compare with -> other element
from the context menu. 

The result looks... hmmm... unreadable...

See attached screen-shot
Comment 1 Nico Seessle CLA 2004-02-18 05:33:52 EST
Created attachment 7987 [details]
Screenshot

Compare with -> each other displaying unreadable garbage
Comment 2 Dani Megert CLA 2004-02-18 05:56:31 EST
André, any comments?
Comment 3 Andre Weinand CLA 2004-02-18 06:36:24 EST

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