commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <>
Subject [jira] Commented: (LANG-197) [lang] Extending VariableFormatter to use FormatPatterns
Date Wed, 28 Nov 2007 17:30:43 GMT


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

> [lang] Extending VariableFormatter to use FormatPatterns
> --------------------------------------------------------
>                 Key: LANG-197
>                 URL:
>             Project: Commons Lang
>          Issue Type: Improvement
>    Affects Versions: 2.1
>         Environment: Operating System: All
> Platform: Other
>            Reporter: Tom Schindl
>            Priority: Minor
>         Attachments: patch.txt,,
> 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.

View raw message