[
https://issues.apache.org/jira/browse/LANG-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546308
]
Matt Benson commented on LANG-197:
----------------------------------
Looking at this even further, there is not much point given the state of the
released codebase in continuing to investigate this for inclusion into [lang],
IMHO. VariableResolver resolved Objects and so was compatible with the basic
Formats available via java.text.MessageFormat. StrLookup returns Strings so
formatting with MessageFormat (or XMF) must take place within a given StrLookup
implementation. This seems to become farther specialized than [lang] probably
wants to go, though hopefully my comments here and some investigation of the
code in oacl.text would be fairly instructive as to how to go about achieving
the desired result. If another commons committer will concur with this
analysis we can mark as WONTFIX (I'm actually curious what the original
requestor did with his fork since VariableResolver was stricken from the
codebase).
> [lang] Extending VariableFormatter to use FormatPatterns
> --------------------------------------------------------
>
> Key: LANG-197
> URL: https://issues.apache.org/jira/browse/LANG-197
> Project: Commons Lang
> Issue Type: Improvement
> Affects Versions: 2.1
> Environment: Operating System: All
> Platform: Other
> Reporter: Tom Schindl
> Priority: Minor
> Attachments: patch.txt, VariableFormatterWithFormating.java,
> VariableFormatterWithFormatingTest.java
>
>
> It would be great to extend VariableFormatter to use Format-Patterns like
> MessageFormat does it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.