Issue-ID: AAF-876
Change-Id: I60413575372f23d0d2b77aa9ec17afb62a2bb657
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
if (option<2 && args.length>idx) {
Date date;
try {
if (option<2 && args.length>idx) {
Date date;
try {
- date = Chrono.dateOnlyFmt.parse(args[idx++]);
+ date = Chrono.dateOnlyFmt.parse(args[idx]);
} catch (ParseException e) {
throw new CadiException(e);
}
} catch (ParseException e) {
throw new CadiException(e);
}
- public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
- int idx = _idx;
- final String user = fullID(args[idx++]);
+ public int _exec(final int idx, final String ... args) throws CadiException, APIException, LocatorException {
+ final String user = fullID(args[idx]);
return same(new Retryable<Integer>() {
@Override
public Integer code(Rcli<?> client) throws CadiException, APIException {
return same(new Retryable<Integer>() {
@Override
public Integer code(Rcli<?> client) throws CadiException, APIException {
@Override
public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
@Override
public int _exec(int _idx, final String ... args) throws CadiException, APIException, LocatorException {
final String type = args[idx++];
int option = whichOption(options,type);
final String type = args[idx++];
int option = whichOption(options,type);
- String value = args[idx++];
+ String value = args[idx];
final String fullValue;
if (option != 2) {
fullValue = fullID(value);
final String fullValue;
if (option != 2) {
fullValue = fullID(value);