Bug 52349 - Compare with -> Other Element "broken"
Summary: Compare with -> Other Element "broken"
Status: RESOLVED DUPLICATE of bug 52055
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-18 05:33 EST by Nico Seessle CLA
Modified: 2004-02-18 06:36 EST (History)
1 user (show)

See Also:


Attachments
Screenshot (28.33 KB, image/png)
2004-02-18 05:33 EST, Nico Seessle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***