Skip to content

Commit 8e059c4

Browse files
committed
Minor code reflow
1 parent cd18e29 commit 8e059c4

File tree

1 file changed

+5
-3
lines changed
  • javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5

1 file changed

+5
-3
lines changed

javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5/UI5.qll

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,8 @@ class Renderer extends SapExtendCall {
286286
class CustomControl extends SapExtendCall {
287287
CustomControl() {
288288
this.getReceiver().getALocalSource() =
289-
TypeTrackers::hasDependency(["sap/ui/core/Control", "sap.ui.core.Control"]).getAMemberCall("extend") or
289+
TypeTrackers::hasDependency(["sap/ui/core/Control", "sap.ui.core.Control"])
290+
.getAMemberCall("extend") or
290291
exists(CustomControl superControl |
291292
superControl.getDefine() = this.getDefine().getSuperModule(_)
292293
)
@@ -494,7 +495,7 @@ class CustomController extends SapExtendCall {
494495
(
495496
this.getReceiver().getALocalSource() =
496497
TypeTrackers::hasDependency(["sap/ui/core/mvc/Controller", "sap.ui.core.mvc.Controller"])
497-
.getAMemberCall("extend")
498+
.getAMemberCall("extend")
498499
or
499500
exists(CustomController superController |
500501
superController.getDefine() = this.getDefine().getSuperModule(_)
@@ -894,7 +895,8 @@ module ManifestJson {
894895
* Gets the view this target is associated with.
895896
*/
896897
UI5View getView() {
897-
result.getName() = getSubstringAfterLastOccurrenceOfCharacter(this.getViewName(), "/")
898+
result.getControllerName() =
899+
getSubstringAfterLastOccurrenceOfCharacter(this.getViewName(), "/")
898900
}
899901

900902
/**

0 commit comments

Comments
 (0)