File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5 Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,14 +113,16 @@ class ODataServiceModel extends UI5ExternalModel {
113113 )
114114 or
115115 /*
116- * A constructor call to ` sap.ui.model.odata.v2.ODataModel` .
116+ * A constructor call to sap.ui.model.odata.v2.ODataModel or sap.ui.model.odata.v4.ODataModel .
117117 */
118118
119119 this instanceof NewNode and
120120 (
121121 exists ( RequiredObject oDataModel |
122122 oDataModel .asSourceNode ( ) .flowsTo ( this .getCalleeNode ( ) ) and
123- oDataModel .getDependency ( ) = "sap/ui/model/odata/v2/ODataModel"
123+ oDataModel .getDependency ( ) in [
124+ "sap/ui/model/odata/v2/ODataModel" , "sap/ui/model/odata/v4/ODataModel"
125+ ]
124126 )
125127 or
126128 this .getCalleeName ( ) = "ODataModel"
You can’t perform that action at this time.
0 commit comments