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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]