You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Brian DePradine (JIRA)" <ji...@apache.org> on 2006/08/01 18:36:14 UTC

[jira] Created: (AXIS2-954) Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.

Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.
------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-954
                 URL: http://issues.apache.org/jira/browse/AXIS2-954
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
            Reporter: Brian DePradine


The method RelatesTo.getRelationshipType() currently returns null if the relationship type has not been specified explicitly. It would be better if this returned a default value. A good value for the default would be http://www.w3.org/2005/08/addressing/reply. With this default there would be no need to explicitly specify the relationship type when 'reply' is required, which is the most common scenario, and it would eliminate the chances of returning null by accident. Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Closed: (AXIS2-954) Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-954?page=all ]

David Illsley closed AXIS2-954.
-------------------------------

    Resolution: Fixed

Patch from Brian committed.

> Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-954
>                 URL: http://issues.apache.org/jira/browse/AXIS2-954
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>            Reporter: Brian DePradine
>         Assigned To: David Illsley
>         Attachments: patch.txt
>
>
> The method RelatesTo.getRelationshipType() currently returns null if the relationship type has not been specified explicitly. It would be better if this returned a default value. A good value for the default would be http://www.w3.org/2005/08/addressing/reply. With this default there would be no need to explicitly specify the relationship type when 'reply' is required, which is the most common scenario, and it would eliminate the chances of returning null by accident. Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-954) Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.

Posted by "Brian DePradine (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-954?page=all ]

Brian DePradine updated AXIS2-954:
----------------------------------

    Attachment: patch.txt

Here it is ...

> Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-954
>                 URL: http://issues.apache.org/jira/browse/AXIS2-954
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>            Reporter: Brian DePradine
>         Attachments: patch.txt
>
>
> The method RelatesTo.getRelationshipType() currently returns null if the relationship type has not been specified explicitly. It would be better if this returned a default value. A good value for the default would be http://www.w3.org/2005/08/addressing/reply. With this default there would be no need to explicitly specify the relationship type when 'reply' is required, which is the most common scenario, and it would eliminate the chances of returning null by accident. Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (AXIS2-954) Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.

Posted by "David Illsley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-954?page=all ]

David Illsley updated AXIS2-954:
--------------------------------

    Component/s: core
       Assignee: David Illsley

> Simplify the handling of the relationship type by returning a default value if it has not been set explicitly in a RelatesTo object.
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-954
>                 URL: http://issues.apache.org/jira/browse/AXIS2-954
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>            Reporter: Brian DePradine
>         Assigned To: David Illsley
>         Attachments: patch.txt
>
>
> The method RelatesTo.getRelationshipType() currently returns null if the relationship type has not been specified explicitly. It would be better if this returned a default value. A good value for the default would be http://www.w3.org/2005/08/addressing/reply. With this default there would be no need to explicitly specify the relationship type when 'reply' is required, which is the most common scenario, and it would eliminate the chances of returning null by accident. Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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