summaryrefslogtreecommitdiffstats
path: root/auth/auth-cmd
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-01-10 09:12:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-10 09:12:26 +0000
commit561d678e8e7816d93efc44d1027dac29691ebb0b (patch)
tree09e63b834f40793dd788a7da9c503d4d60bfd0cc /auth/auth-cmd
parent39f03153776f3a43920fe1c09343521605c6076a (diff)
parentcf04c089826d7f2bd139447de77db8e4d9761ddb (diff)
Merge "Sonar fix: Delg.java"
Diffstat (limited to 'auth/auth-cmd')
-rw-r--r--auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java
index 3cb9fb04..e4ddc2b1 100644
--- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java
+++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/user/Delg.java
@@ -3,6 +3,8 @@
* org.onap.aaf
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
+ *
+ * Modifications Copyright (C) 2018 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -41,7 +43,7 @@ import aaf.v2_0.DelgRequest;
public class Delg extends BaseCmd<User> {
static final String AUTHZ_DELG = "/authz/delegate";
- private final static String[] options = {"add","upd","del"};
+ private static final String[] options = {"add","upd","del"};
public Delg(User user) throws APIException {
super(user,"delegate",
@@ -112,8 +114,8 @@ public class Delg extends BaseCmd<User> {
}
@Override
- public void detailedHelp(int _indent, StringBuilder sb) {
- int indent = _indent;
+ public void detailedHelp(int indentParam, StringBuilder sb) {
+ int indent = indentParam;
detailLine(sb,indent,"Add, Update or Delete Delegate");
indent+=2;
detailLine(sb,indent,"A Delegate is a person who will temporarily cover the Approval and");