Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Meaning of //$NON-NLS-1$
Meaning of //$NON-NLS-1$ [message #319534] Fri, 24 August 2007 02:51 Go to next message
Eclipse UserFriend
Hi,

What is the meaning of this comment //$NON-NLS-1$ in the java code that I
am looking at. Is it something Eclipse specific?

cheers,

//mikael
Re: Meaning of //$NON-NLS-1$ [message #319535 is a reply to message #319534] Fri, 24 August 2007 03:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: diego.guidi.inwind.it

> What is the meaning of this comment //$NON-NLS-1$ in the java code that I
> am looking at. Is it something Eclipse specific?

Yes, is eclipse specific: it means that the string don't require
localization, so the automatic resources creator tool could safely skip the
string itself.
Re: Meaning of //$NON-NLS-1$ [message #319537 is a reply to message #319534] Fri, 24 August 2007 03:09 Go to previous message
Eclipse UserFriend
Yes it tells to compiler to not complain about a non externalized string.

Tom

mikael schrieb:
> Hi,
>
> What is the meaning of this comment //$NON-NLS-1$ in the java code that
> I am looking at. Is it something Eclipse specific?
>
> cheers,
>
> //mikael
>


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Poor performance in Eclipse 3.3
Next Topic:Copy files out of Plugins programmatically
Goto Forum:
  


Current Time: Sat Nov 08 01:01:12 EST 2025

Powered by FUDForum. Page generated in 0.04681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top