Bug 116318

Summary: Ambiguous use of Assert and ListenerList
Product: [Eclipse Project] Platform Reporter: Oleg Besedin <ob1.eclipse>
Component: CompareAssignee: Andre Weinand <andre_weinand>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch org.eclipse.compare
none
Patch org.eclipse.compare none

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