@@ -513,7 +513,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ // calculate argument position
|
+ // calculate argument position
|
||||||
+ if (argIdx != null) {
|
+ if (argIdx != null) {
|
||||||
+ try {
|
+ try {
|
||||||
+ final int idx = Integer.parseInt(argIdx);
|
+ final int idx = Integer.parseInt(argIdx) - 1;
|
||||||
+ if (idx < args.size()) {
|
+ if (idx < args.size()) {
|
||||||
+ consumer.accept(args.get(idx));
|
+ consumer.accept(args.get(idx));
|
||||||
+ }
|
+ }
|
||||||
|
|||||||
Reference in New Issue
Block a user