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

Chris A. Mattmann commented on OODT-149:
----------------------------------------

Hey Brian why is this a problem?

# We can test for ""
# nulls don't really play nicely with code (they lead to hard to find NPEs). 
Why ship null around or even recreate null when we can create "" and test for 
it? 
# We'll likely never have the case where we have a job id of ""


> XmlRpcStructFactory when creating XmlRpc Job converts a Job's JobId to empty 
> String but doesn't convert it back to null
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: OODT-149
>                 URL: https://issues.apache.org/jira/browse/OODT-149
>             Project: OODT
>          Issue Type: Bug
>          Components: resource manager
>    Affects Versions: 0.2
>         Environment: none
>            Reporter: Brian Foster
>            Assignee: Brian Foster
>            Priority: Minor
>             Fix For: 0.3
>
>
> either:
> 1) change it such that when XML-RPC Job is converted back to a Job, its JobId 
> is set to null if it is empty string
> 2) if null, set JobId to String "null", then convert back to null if JobId is 
> "null"

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to