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

ASF GitHub Bot commented on WICKET-7147:
----------------------------------------

jstuyts opened a new pull request, #1097:
URL: https://github.com/apache/wicket/pull/1097

   The parameter order for the checks is: object, message. The calls passed the 
parameters in the wrong order.




> Paramter order of null checks incorrect
> ---------------------------------------
>
>                 Key: WICKET-7147
>                 URL: https://issues.apache.org/jira/browse/WICKET-7147
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 9.19.0
>            Reporter: Johan Stuyts
>            Priority: Major
>
> As part of WICKET-7145 a couple of problems with {{null}} checks were found. 
> The order of the parameters passed to the check methods was incorrect in the 
> following classes:
>  * {{OriginResourceIsolationPolicy}}
>  * {{BaseWicketTester}}
>  * {{WicketTesterTest}}
> {color:#000000}These problems are also present in the 9.x branch.{color}
> {color:#000000}(8.x does not have {{OriginResourceIsolationPolicy}} yet, and 
> the tester classes use another assert method to which the paramters are 
> passed in the correct order.){color}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to