Bug 209689

Summary: [compiler] Empty strings should not require NON-NLS marker
Product: [Eclipse Project] JDT Reporter: Gleb Sturov <gsturov>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jerome_lanneluc, Olivier_Thomann
Version: 3.4   
Target Milestone: 3.6 M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Gleb Sturov CLA 2007-11-13 14:34:04 EST
Build ID: M20070921-1145

Steps To Reproduce:

String s = ""; // this generates a NON-NLS warning, not sure why. Can it be internationalized?
String s = "\t "; // Can whitespace only string be internationalized?

More information:
Comment 1 Olivier Thomann CLA 2009-06-26 11:39:05 EDT
NON-NLS markers are required for all strings that are not intended to be translated regardless of their contents.
Closing as WONTFIX.
Comment 2 Frederic Fusier CLA 2009-08-03 08:52:52 EDT
Verified for 3.6M1