[ nice-Bugs-907234 ] importing superfluous package cause compile error

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #907234, was opened at 2004-02-29 20:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=907234&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Thomas (jthomas)
Assigned to: Nobody/Anonymous (nobody)
Summary: importing superfluous package cause compile error

Initial Comment:
This program compiles fine, but if you uncomment out 
the superfluous import you get the error "Pattern null is 
incompatible with type 
org.eclipse.swt.widgets.Composite"

package test;
//import org.eclipse.jface.dialogs.*(!);
import org.eclipse.jface.wizard.*(!);
import org.eclipse.swt.widgets.*(!);

public class TestWizard extends WizardPage {
    createControl(null) {
    }

    createControl(Composite parent) {
    }
}    


Note: swt.jar and jface.jar needed to compile.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=907234&group_id=12788


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.