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

Peter Frandsen commented on CXF-5786:
-------------------------------------

Note: The suggested solution also does not return false on the first error but 
keep checking such that multiple errors can be registered.

> isValid() in WSIBPValidator should check method signature
> ---------------------------------------------------------
>
>                 Key: CXF-5786
>                 URL: https://issues.apache.org/jira/browse/CXF-5786
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 3.0.0
>            Reporter: Peter Frandsen
>
> WSIBPValidator.isValid() does not check method signature before calling 
> "check*" method through reflection.
> Also, the check m.getModifiers() == Member.PUBLIC is always false so should 
> be removed. The call getClass().getMethods() only returns public members, and 
> if it was needed the check for public should be 
> Modifier.isPublic(m.getModifiers())



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to