Javadoc for PolicyComponent.getType() lists wrong return results
----------------------------------------------------------------

                 Key: WSCOMMONS-296
                 URL: https://issues.apache.org/jira/browse/WSCOMMONS-296
             Project: WS-Commons
          Issue Type: Bug
            Reporter: Gerald Preissler
            Priority: Minor
         Attachments: PolicyComponent_2.0.2.patch

The return results for PolicyComponent.getType() are listed as 

-     * @return Constants.POLICY for Policy type PolicyComponent
-     *         Constants.EXACTLYONE for ExactlyOne type PolicyComponent
-     *         Constants.ALL for All type PolicyComponent
-     *         Constants.ASSERTION for Assertion type PolicyComponent

The correct values are

+     * @return Constants.TYPE_POLICY for Policy type PolicyComponent
+     *         Constants.TYPE_EXACTLYONE for ExactlyOne type PolicyComponent
+     *         Constants.TYPE_ALL for All type PolicyComponent
+     *         Constants.TYPE_ASSERTION for Assertion type PolicyComponent

I will attach a patch agains Neethi 2.0.2.

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

Reply via email to