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

Bug 83399

Summary: Compiler warning for unused NON-NLS comments
Product: [Eclipse Project] JDT Reporter: DJ Houghton <dj.houghton>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description DJ Houghton CLA 2005-01-21 10:19:39 EST
I have come across several places in code where there used to be
non-externalized strings (which had a //$NON-NLS-1$ comment) but the string was
removed. In some cases the comment was not removed with the string.

I would like a compiler warning/error which indicates that there is an
un-necessary //$NON-NLS-1$ comment when there are no strings on the line.
Comment 1 Olivier Thomann CLA 2005-01-21 11:30:26 EST
This is more an enhancement.
Comment 2 Philipe Mulet CLA 2005-04-07 09:44:24 EDT
Deferring post 3.1
Comment 3 Philipe Mulet CLA 2005-05-04 15:53:39 EDT
reopen
Comment 4 Philipe Mulet CLA 2005-05-04 15:54:18 EDT
post 3.1
Comment 5 Olivier Thomann CLA 2005-07-12 10:25:30 EDT
Considering post 3.1
Comment 6 Ilja Preuss CLA 2005-07-13 12:06:35 EDT
This is a duplicate of bug 48976
Comment 7 Olivier Thomann CLA 2005-07-13 12:43:26 EDT

*** This bug has been marked as a duplicate of 48976 ***