You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2008/04/11 19:42:04 UTC

[jira] Assigned: (TUSCANY-2217) Some null guards needed in MediatorImpl

     [ https://issues.apache.org/jira/browse/TUSCANY-2217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2217:
-------------------------------------

    Assignee: Raymond Feng

> Some null guards needed in MediatorImpl
> ---------------------------------------
>
>                 Key: TUSCANY-2217
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2217
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Data Binding Runtime
>    Affects Versions: Java-SCA-1.1
>            Reporter: Scott Kurz
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>         Attachments: 2217.patch
>
>
> I think we should add guards to MediatorImpl.mediate() so that:
> - We don't do the introspectType(source) if 'source' is null
> - We simply return 'source' if 'targetDataType' is null
> While, for some methods, we might put the burden on the caller to check, this method is already one that can handle nulls for certain objs, and we want to possibly allow transforming a null
> 'source', so it seems better to make the mediate() method itself more robust.
> I'll attach a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org