From: anushadasari Date: Thu, 12 Sep 2019 11:07:13 +0000 (+0530) Subject: Add a semicolon at the end of this statement. X-Git-Tag: 6.0.1~280 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b067652d82e9e872638ec506469cfc03b6009e83;p=vid.git Add a semicolon at the end of this statement. 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-607 Change-Id: I27deafe5e97d71be4b5b6501f3cda0a19769123b Signed-off-by: anushadasari --- diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js index 3f902e86e..ac6eeeac6 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js @@ -42,7 +42,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS if (response.data.status < 200 || response.data.status > 202) { throw { type : FIELD.ID.MSO_FAILURE - } + }; } }; @@ -172,7 +172,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS getFormattedCommonResponse : function(response) { return UtilityService.getCurrentTime() + " HTTP Status: " + UtilityService.getHttpStatusText(response.data.status) - + "\n" + angular.toJson(response.data.entity, true) + + "\n" + angular.toJson(response.data.entity, true); }, checkValidStatus : checkValidStatus, @@ -326,7 +326,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS $log.debug("model info from instance", instance); $log.debug("model info to model", modelInfo); - return modelInfo + return modelInfo; }; var payload = { @@ -572,7 +572,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS return sendPostRequestWithBody(url, payload); } - } + }; }; appDS2.factory("MsoService", MsoService );