diff options
author | Arundathi Patil <arundpil@in.ibm.com> | 2019-07-19 14:25:14 +0530 |
---|---|---|
committer | Arundathi Patil <arundpil@in.ibm.com> | 2019-07-19 14:25:20 +0530 |
commit | f25a1504c6ba96928d7219747accfe62a856cc69 (patch) | |
tree | 19dfa0bc03663241661fe8a1a2c7212959ac236d /auth/auth-cmd/src/main/java/org | |
parent | 5b77b6489dfb644a901e2640615a32d78f533351 (diff) |
Sonar fix: Role.java
Fixed sonar isues in this file
Issue-ID: AAF-889
Change-Id: I006683bd9183ca947f262583d84f2299c9d152f9
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'auth/auth-cmd/src/main/java/org')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/Role.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/Role.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/Role.java index e3c838af..459848a1 100644 --- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/Role.java +++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/role/Role.java @@ -3,6 +3,8 @@ * org.onap.aaf * =========================================================================== * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2019 IBM. * =========================================================================== * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,12 +30,12 @@ import org.onap.aaf.misc.env.APIException; public class Role extends BaseCmd<Role> { public List list; - public Role(AAFcli aafcli) throws APIException { + public Role(AAFcli aafcli) { super(aafcli, "role"); cmds.add(new CreateDelete(this)); -// cmds.add(new Delete(this)); cmds.add(new User(this)); cmds.add(new Describe(this)); - cmds.add(list = new List(this)); + list = new List(this); + cmds.add(list); } } |