You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2014/08/25 11:01:12 UTC

[jira] [Comment Edited] (SANDBOX-472) Transformer Registry

    [ https://issues.apache.org/jira/browse/SANDBOX-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108904#comment-14108904 ] 

Benedikt Ritter edited comment on SANDBOX-472 at 8/25/14 9:01 AM:
------------------------------------------------------------------

Hello Yogesh,

a patch with just the registry and the test case would be great! We can then think about how we want to include the registry into the existing code.

TIA!
Benedikt


was (Author: britter):
Hello Yogesh,

a patch with just the registry would be great! We can then think about how we want to include the registry into the existing code.

TIA!
Benedikt

> Transformer Registry
> --------------------
>
>                 Key: SANDBOX-472
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-472
>             Project: Commons Sandbox
>          Issue Type: Task
>          Components: BeanUtils2
>    Affects Versions: Nightly Builds
>            Reporter: Yogesh Rao
>            Assignee: Benedikt Ritter
>             Fix For: Nightly Builds
>
>         Attachments: TestStringFloatTransformerImpl.java.txt, TestStringIntegerTransformerImpl.java.txt, TransformerRegistry.java.txt, TransformerRegistryTestCase.java.txt, sandbox-472.patch
>
>
> Hi,
> This is my first development JIRA for BU2 so apologies in case i m missing out on basics. Beanutils1 has a functionality wherein all the converters are registered and are called when conversion in value is required. This functionality is missing for BU2 project. I also saw that BeanUtils1 uses WeakFastHashMap for this, which seems like is having issues across architectures and did see few JIRA's on this. Wanted inputs if having a synchronized instance of WeakHashMap wrapped in the TransformerRegsitry class and providing methods to register, deregister, restoreDefault, lookup be desired?



--
This message was sent by Atlassian JIRA
(v6.2#6252)