summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
e66b95f)
Fixed sonar code-smells/issues across these files
ListAdminResponsible,
ListByName,
ListChildren
Issue-ID: AAF-508
Change-Id: I993d2946c8e17caae9ce6dd9600dc52d98a1206b
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
public class ListAdminResponsible extends Cmd {
private static final String HEADER="List Namespaces with ";
public class ListAdminResponsible extends Cmd {
private static final String HEADER="List Namespaces with ";
- private final static String[] options = {"admin","owner"};
+ private static final String[] options = {"admin","owner"};
public ListAdminResponsible(List parent) {
super(parent,null,
public ListAdminResponsible(List parent) {
super(parent,null,
- public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
- int idx = _idx;
+ public int _exec(int idxValue, final String ... args) throws CadiException, APIException, LocatorException {
+ int idx = idxValue;
final String ns=args[idx++];
return same(new Retryable<Integer>() {
@Override
final String ns=args[idx++];
return same(new Retryable<Integer>() {
@Override
- public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
- int idx = _idx;
+ public int _exec(int idxValue, final String ... args) throws CadiException, APIException, LocatorException {
+ int idx = idxValue;
final String ns=args[idx++];
return same(new Retryable<Integer>() {
@Override
final String ns=args[idx++];
return same(new Retryable<Integer>() {
@Override