Bug 116318 - Ambiguous use of Assert and ListenerList
Summary: Ambiguous use of Assert and ListenerList
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.2 M4   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-14 15:14 EST by Oleg Besedin CLA
Modified: 2005-11-14 15:31 EST (History)
0 users

See Also:


Attachments
Patch org.eclipse.compare (1.56 KB, text/plain)
2005-11-14 15:15 EST, Oleg Besedin CLA
no flags Details
Patch org.eclipse.compare (1.56 KB, text/plain)
2005-11-14 15:15 EST, Oleg Besedin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Besedin CLA 2005-11-14 15:14:24 EST
The Assert and ListenerList are going to be shortly made available as an APIs 
in the org.eclipse.core.runtime.

As such, classes that use their own classes named Assert and ListenerList and 
use import org.eclipse.core.runtime.* will have compile errors. 

In the compare plugin those classes are affected:

org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
org.eclipse.compare/compare/org/eclipse/compare/internal/CompareEditor.java
Comment 1 Oleg Besedin CLA 2005-11-14 15:15:31 EST
Created attachment 29910 [details]
Patch org.eclipse.compare

Suggested fix (adds explisit imports for the Assert and ListenerList classes).
Comment 2 Oleg Besedin CLA 2005-11-14 15:15:41 EST
Created attachment 29911 [details]
Patch org.eclipse.compare

Suggested fix (adds explisit imports for the Assert and ListenerList classes).
Comment 3 Andre Weinand CLA 2005-11-14 15:31:52 EST
Thanks for the patch.
I've applied it and released the changes for I20051115