Add a semicolon at the end of this statement. 65/95565/2
authoranushadasari <danush10@in.ibm.com>
Thu, 12 Sep 2019 11:07:13 +0000 (16:37 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 24 Sep 2019 16:37:20 +0000 (16:37 +0000)
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 <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/services/msoService.js

index 3f902e8..ac6eeea 100755 (executable)
@@ -42,7 +42,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS
         if (response.data.status < 200 || response.data.status > 202) {\r
             throw {\r
                 type : FIELD.ID.MSO_FAILURE\r
-            }\r
+            };\r
         }\r
     };\r
 \r
@@ -172,7 +172,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS
         getFormattedCommonResponse : function(response) {\r
             return UtilityService.getCurrentTime() + " HTTP Status: "\r
                 + UtilityService.getHttpStatusText(response.data.status)\r
-                + "\n" + angular.toJson(response.data.entity, true)\r
+                + "\n" + angular.toJson(response.data.entity, true);\r
 \r
         },\r
         checkValidStatus : checkValidStatus,\r
@@ -326,7 +326,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS
                 $log.debug("model info from instance", instance);\r
                 $log.debug("model info to model", modelInfo);\r
 \r
-                return modelInfo\r
+                return modelInfo;\r
             };\r
 \r
             var payload = {\r
@@ -572,7 +572,7 @@ var MsoService = function($http, $log, $q, PropertyService, AaiService, UtilityS
 \r
             return sendPostRequestWithBody(url, payload);\r
         }\r
-    }\r
+    };\r
 };\r
 \r
 appDS2.factory("MsoService", MsoService );\r