Bug 56992 - 'unused imports' changed from "Ignore" to "Warning".
Summary: 'unused imports' changed from "Ignore" to "Warning".
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P5 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 18:05 EST by Ilya Rozenberg CLA
Modified: 2004-05-10 05:43 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Rozenberg CLA 2004-03-31 18:05:09 EST
With the change over to Eclipe 2.1.2 as the base version for our software the 
default setting for the reporting on 'unused imports' changed from "Ignore" 
to "Warning".  This is annoying from the standpoint that these warnings flag 
access to our API as warnings in the auto generated Java code. Please change it 
back in 3.0
Comment 1 Dirk Baeumer CLA 2004-04-01 02:29:21 EST
Moving to JDT/Core for comments.
Comment 2 Philipe Mulet CLA 2004-04-08 19:51:52 EDT
Why don't you toggle it to whatever value you prefer ?
You can even do so programmatically.


Comment 3 Ilya Rozenberg CLA 2004-04-09 09:15:31 EDT
We do it programmatically. It is good workaround.
Two problems with that
1. Not clear for user to look under project properties instead of compiler 
preferences.
2. Internal API has to be used

I moved priority to P4
Comment 4 Philipe Mulet CLA 2004-05-10 05:43:17 EDT
You should have been using:

Didn't you use:
JavaCore.setOption(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.IGNORE);
IJavaProject.setOption(JavaCore.COMPILER_PB_UNUSED_IMPORT, JavaCore.IGNORE)