From 378b74b36f7acc7cd68bdac170348e62c4c5ceeb Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Mon, 5 Feb 2018 14:59:05 +0530 Subject: 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 --- portal/src/main/webapp/extsys/ems/js/commonUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit 1.2.3-korg