Merge changes from topics "VID-30", "VID-37"
authorIttay Stern <ittay.stern@att.com>
Thu, 10 Oct 2019 08:22:51 +0000 (08:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 10 Oct 2019 08:22:51 +0000 (08:22 +0000)
* changes:
  Add the "@Override" annotation.
  Replace "==" with "===".

vid-app-common/src/main/java/org/onap/vid/model/VNFDao.java
vid-app-common/src/main/webapp/app/vid/scripts/controller/InstantiationController.js

index 8370f91..cb7a0fc 100644 (file)
@@ -41,6 +41,7 @@ public class VNFDao extends DomainVo {
     @GeneratedValue(strategy = GenerationType.IDENTITY)
     @Column(name = "VNF_DB_ID")
     @JsonIgnore
+    @Override
     public Long getId() {
         return id;
     }
index b3afcd8..6d8dde8 100755 (executable)
@@ -35,7 +35,7 @@
         $scope.properties = UtilityService.getProperties();\r
         $scope.resumeStatus = COMPONENT.RESUME_STATUS;\r
         //isPermitted - returned as string from url and converted into boolean\r
-        $scope.isPermitted = $location.search().isPermitted == "true";\r
+        $scope.isPermitted = $location.search().isPermitted === "true";\r
         $scope.STATUS_CONSTANTS = FIELD.STATUS;\r
         $scope.pnfs = [];// PNF data init;\r
         $scope.collectionResource = {};\r