Skip to main content

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


I'm not sure what you mean by "apostrophe duplication".   For a simple test, this works fine:

format        "Compare ({0}-{1})"        

producing:

title        "Compare (bingo.txt-bingo2.txt)"        

Is there something I'm missing?

____________________________________
David McKnight    
Phone:   905-413-3902 , T/L:  969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail:       D1/YFY/8200/TOR
____________________________________



"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

21/02/2008 02:12 PM

To
David McKnight/Toronto/IBM@IBMCA
cc
"Target Management developer discussions" <dsdp-tm-dev@xxxxxxxxxxx>
Subject
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