Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 256464

Summary: [Import/Export] ILeveledImportStructureProvider interface is not declared public
Product: [Eclipse Project] Platform Reporter: Paul Webster <pwebster>
Component: UIAssignee: Prakash Rangaraj <prakash>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.5   
Target Milestone: 3.4.2   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 254492    
Bug Blocks:    

Description Paul Webster CLA 2008-11-25 12:05:48 EST
+++ This bug was initially created as a clone of Bug #254492 +++

Build ID: I20080617-2000

Steps To Reproduce:
1. This is not a run-time issue. It is an issue with a missing "public" keyword on an Eclipse interface.
2.
3.


More information:
In the file org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/ILeveledImportStructureProvider.java, the keyword "public" is not present before the interface declaration. The line is just:
interface ILeveledImportStructureProvider extends IImportStructureProvider {

instead of 
public interface ILeveledImportStructureProvider extends IImportStructureProvider {

In the same directory, the files IDataTransferHelpContextIds.java and IFileExporter.java contain public interfaces.

Without the keyword public, the interface is only visible to the package and can not be experimented with in other plugins.

It is understood that the interface is still internal and its usage is discouraged.

Not having the "public" keyword seems inconsistent with the other interfaces in the same package and counter to the policy described in http://wiki.eclipse.org/Export-Package

Please add the "public" keyword. Thanks.
Comment 1 Paul Webster CLA 2008-11-25 14:48:10 EST
Released to R3_4_maintenance >20081125
PW
Comment 2 Paul Webster CLA 2009-01-22 13:54:27 EST
In M20090121-1700
PW