Sonar Major 29/30229/1
authorPrasadNaidu <RV00493633@techmahindra.com>
Mon, 5 Feb 2018 09:29:05 +0000 (14:59 +0530)
committerPrasadNaidu <RV00493633@techmahindra.com>
Mon, 5 Feb 2018 09:29:42 +0000 (14:59 +0530)
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>
portal/src/main/webapp/extsys/ems/js/commonUtil.js

index 6a55212..cd56bd1 100644 (file)
@@ -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++) {