diff options
author | PrasadNaidu <RV00493633@techmahindra.com> | 2018-02-05 14:59:05 +0530 |
---|---|---|
committer | PrasadNaidu <RV00493633@techmahindra.com> | 2018-02-05 14:59:42 +0530 |
commit | 378b74b36f7acc7cd68bdac170348e62c4c5ceeb (patch) | |
tree | 7e2448e9fa8d4721b13c26b5060627b3f7c844e9 /portal/src/main/webapp/extsys | |
parent | 0d47ccca144711771e584e596393200e75ab1f5e (diff) |
Sonar Major
Replace == with ===
commonUtil.js:L18
Sonar link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-gui%3Aaai-esr-gui#resolved=false|severities=MAJOR|rules=javascript%3AEqEqEq%2Cjavascript%3ABitwiseOperators
Location : src/main/webapp/extsys/ems/js/commonUtil.js
Change-Id: I3736d67a3c437a4d895bf3e6b995231497f457fc
Issue-ID: AAI-727
Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
Diffstat (limited to 'portal/src/main/webapp/extsys')
-rw-r--r-- | portal/src/main/webapp/extsys/ems/js/commonUtil.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portal/src/main/webapp/extsys/ems/js/commonUtil.js b/portal/src/main/webapp/extsys/ems/js/commonUtil.js index 6a55212..cd56bd1 100644 --- a/portal/src/main/webapp/extsys/ems/js/commonUtil.js +++ b/portal/src/main/webapp/extsys/ems/js/commonUtil.js @@ -15,7 +15,7 @@ */ var commonUtil = {}; commonUtil.arrayRemove = function (aryInstance, index) { - if (aryInstance == undefined || aryInstance == null) { + if (aryInstance === undefined || aryInstance === null) { return; } for (var i = 0, n = 0; i < aryInstance.length; i++) { |