login-guard-service - removed unused code 89/60889/2
authorArundathi Patil <arundpil@in.ibm.com>
Thu, 16 Aug 2018 10:39:58 +0000 (16:09 +0530)
committerTakamune Cho <tc012c@att.com>
Sun, 19 Aug 2018 19:32:16 +0000 (19:32 +0000)
The mapping-editor service is injected into login-guard-service, but is
never used. Hence removed it.

Issue-ID: APPC-1149
Change-Id: Ic11bcb8246199cc308fca0914e7e4e0d690716fb
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
src/app/vnfs/LoginGuardService/Login-guard-service.ts

index 6c5663f..ddec7b5 100644 (file)
@@ -3,7 +3,7 @@
 ===================================================================
 Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
 
-Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
+Copyright (C) 2018 IBM.
 ===================================================================
 
 Unless otherwise specified, all software contained herein is licensed
@@ -24,12 +24,11 @@ limitations under the License.
 import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot} from '@angular/router';
 
 import {Injectable} from '@angular/core';
-import {MappingEditorService} from '../../shared/services/mapping-editor.service';
 
 @Injectable()
 export class LoginGuardService implements CanActivate {
 
-    constructor(private mapService: MappingEditorService, private router: Router) {
+    constructor(private router: Router) {
     }
 
     canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {