From 8694b431fc46213c4f1d2ae0606e7598a509ef0c Mon Sep 17 00:00:00 2001 From: anushadasari Date: Tue, 3 Sep 2019 11:51:19 +0530 Subject: [PATCH] Semicolon at the end of the Statement and Remove trailing whitespaces at the end of this line In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line. Issue-ID: VID-606 Change-Id: If88beef4fa028d01eda5119dfa5bc005d8225e17 Signed-off-by: anushadasari --- .../vid/scripts/controller/pnfSearchAssociationController.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js b/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js index 352d9ca8d..0cc92eee3 100644 --- a/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/controller/pnfSearchAssociationController.js @@ -47,8 +47,8 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD var handleGetParametersResponse = function(parameters) { $scope.serviceMetadataFields = parameters.summaryList; $scope.serviceMetadataFields.forEach(function (t, number) { - $scope.serviceMetadataFields[number].key = $scope.serviceMetadataFields[number].name.split(' ').join('') - }) + $scope.serviceMetadataFields[number].key = $scope.serviceMetadataFields[number].name.split(' ').join(''); + }); $scope.nodeTemplateFields = _.keyBy(parameters.userProvidedList, 'id'); }; @@ -74,7 +74,7 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD $scope.notFound= true; }); - } + }; var modalInstance; $scope.associate = function() { @@ -99,9 +99,7 @@ appDS2.controller("pnfSearchAssociationController", ["COMPONENT", "$log", "FIELD return null; } } - }) - - + }); }; var updateViewCallbackFunction = function(response) { -- 2.16.6