Bug 209689 - [compiler] Empty strings should not require NON-NLS marker
Summary: [compiler] Empty strings should not require NON-NLS marker
Status: VERIFIED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-13 14:34 EST by Gleb Sturov CLA
Modified: 2009-08-03 08:52 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 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