Bug 70933 - Fixed deprecation warnings do not disappear
Summary: Fixed deprecation warnings do not disappear
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-27 16:33 EDT by Mario Cormier CLA
Modified: 2004-08-30 07:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mario Cormier CLA 2004-07-27 16:33:58 EDT
Background: we had this old homegrown logging system that I'm replacing with
Log4J.  I marked the old class (Logger) as deprecated, and all the occurences
showed up in the Problems view.

Now when I replaced all occurences of Logger.error() with log.error(), and
adding a static instance of Logger (the Log4J type this time) named 'log', the
problems do not show up anymore in the right margin, but they're still in the
left margin and in the Problems view.

I've made lots of similar changes in the past and never saw anything like that.
 Fixing other errors correctly removes them from the Problems view.  I'm
guessing it might have to do with the fact that the old deprecated class and its
replacement both happen to be named "Logger".
Comment 1 Jerome Lanneluc CLA 2004-08-30 07:41:58 EDT
You need to build the project for these errors to disapear. You must have 
turned off autobuild accidentaly. See Window > Preferences > Workbench > Build 
automaticaly.