Remove unused vars and methods
[policy/engine.git] / POLICY-SDK-APP / src / main / webapp / app / policyApp / policy-models / Editor / PolicyTemplateController / DecisionPolicyController.js
index 0e53ce9..9596d0f 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * ONAP Policy Engine
  * ================================================================================
- * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -32,7 +32,6 @@ angular.module('abs').controller('decisionPolicyController', [ '$scope', 'Policy
                        policyType : "Decision"
                }
        }
-       ;
 
        $scope.refresh = function() {
                if ($scope.refreshCheck) {
@@ -114,14 +113,6 @@ angular.module('abs').controller('decisionPolicyController', [ '$scope', 'Policy
                console.log("failed");
        });
 
-       function extend(obj, src) {
-               for (var key in src) {
-                       if (src.hasOwnProperty(key))
-                               obj[key] = src[key];
-               }
-               return obj;
-       }
-
        $scope.saveDecisionPolicy = function(policy) {
                if (policy.itemContent != undefined) {
                        $scope.refreshCheck = true;
@@ -460,4 +451,4 @@ angular.module('abs').controller('decisionPolicyController', [ '$scope', 'Policy
                        }
                });
        };
-} ]);
\ No newline at end of file
+} ]);