[jbosstools-issues] [JBoss JIRA] (JBIDE-9356) NLS.bind vs MessageFormat.format

Rob Stryker (JIRA) issues at jboss.org
Fri Jun 30 13:27:00 EDT 2017


     [ https://issues.jboss.org/browse/JBIDE-9356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker closed JBIDE-9356.
------------------------------
    Resolution: Done


This was more of an informative jira. No work was done. Closing. 

> NLS.bind vs MessageFormat.format
> --------------------------------
>
>                 Key: JBIDE-9356
>                 URL: https://issues.jboss.org/browse/JBIDE-9356
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: cleanup
>    Affects Versions: 3.3.0.M3
>            Reporter: Rob Stryker
>            Assignee: Jeff MAURY
>             Fix For: 4.5.0.AM1, 4.0.x
>
>
> A substantial number of classes use NLS.bind(Messages.SomeString, name) to bind message strings. Another subset of the classes use MessageFormat.format(etc).  
> I believe NLS.bind() is the correct solution which works properly with eclipse osgi and all that jazz. Should this be standardized? Is it confusing to be using two interchangable APIs? 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list