From 44ec5d2bced3aa6a4348d939cf427c1eb9d92eb4 Mon Sep 17 00:00:00 2001 From: PrasadNaidu Date: Mon, 5 Feb 2018 16:12:40 +0530 Subject: Sonar Major Replace != with !== commonUtil.js:L22 Sonar Link : https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-gui%3Aaai-esr-gui#resolved=false|severities=MAJOR|assignees=PrasadNaidu Location : src/main/webapp/extsys/ems/js/commonUtil.js Change-Id: Ia3a84e08e88b04ee0cea325308f5236d942f8d5b Issue-ID: AAI-729 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..ca64eb5 100644 --- a/portal/src/main/webapp/extsys/ems/js/commonUtil.js +++ b/portal/src/main/webapp/extsys/ems/js/commonUtil.js @@ -19,7 +19,7 @@ commonUtil.arrayRemove = function (aryInstance, index) { return; } for (var i = 0, n = 0; i < aryInstance.length; i++) { - if (aryInstance[i] != aryInstance[dx]) { + if (aryInstance[i] !== aryInstance[dx]) { aryInstance[n++] = aryInstance[i]; } } -- cgit 1.2.3-korg