Bug 106875

Summary: [compiler] Unnecessary nls tags detection fails on duplicate tags
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2005-08-12 12:46:26 EDT
In the following code, no unnecessary tag is reported. The second nls tag is not
required.
public class X {
	public static void main(String[] args) {
		String s = ""; //$NON-NLS-1$//$NON-NLS-1$
    }
}
Comment 1 Olivier Thomann CLA 2005-08-12 14:27:46 EDT
Released and fixed in HEAD.
Regression tests added in
org.eclipse.jdt.core.tests.compiler.regression.ExternalizeStringLiteralsTest.test005/007.
Comment 2 Olivier Thomann CLA 2005-09-20 14:04:40 EDT
Verified using I20050920-0010 for 3.2M2