File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5 Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -485,9 +485,8 @@ class CustomController extends SapExtendCall {
485485 * controller.
486486 */
487487
488- exists ( DisplayEventHandler handler |
489- handler .getAssociatedContextObject ( ) .getALocalSource ( ) = this .getAThisNode ( ) and
490- result .getBinder ( ) = handler
488+ exists ( DisplayEventHandler handler | handler = result .getBinder ( ) |
489+ handler .getAssociatedContextObject ( ) .getALocalSource ( ) = this .getAThisNode ( )
491490 )
492491 }
493492
@@ -504,10 +503,8 @@ class CustomController extends SapExtendCall {
504503 }
505504
506505 RouterReference getARouterReference ( ) {
507- result .getMethodName ( ) = "getRouter" and
508- exists ( ThisNode controllerThis |
509- result .( MethodCallNode ) .getReceiver ( ) = controllerThis .getALocalUse ( ) and
510- controllerThis .getBinder ( ) = this .getAMethod ( )
506+ exists ( ThisNode controllerThis | controllerThis .getBinder ( ) = this .getAMethod ( ) |
507+ result = controllerThis .getAMemberCall ( "getRouter" )
511508 )
512509 }
513510
You can’t perform that action at this time.
0 commit comments