Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] RE: MessageFormat in SftpService / FTPService, and other problems with your checkin

Please forget the comment about aprostrophe duplication.
Just noticed that NLS.bind() also supports the apostrophe
duplication / quoting mechanism that MessageFormat uses.
 
Still, in this case better use Utilities.getFormattedString().
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
Sent: Donnerstag, 21. Februar 2008 20:12
To: David McKnight
Cc: Target Management developer discussions
Subject: [dsdp-tm-dev] RE: MessageFormat in SftpService / FTPService,and other problems with your checkin

In SystemCompareInput, you also cannot use NLS.bind() because
the String uses '' apostrophe duplication. Better use
    Utilities.getFormattedString()
in this case -- or duplicate the String in your own plugin in order
to awoid Platform "internal" API access.
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

Back to the top