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

Jeff MAURY (JIRA) issues at jboss.org
Tue Jul 4 08:37:00 EDT 2017


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

Jeff MAURY closed JBIDE-9356.
-----------------------------
    Resolution: Rejected


> 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