Fixed npe in commands parser
This commit is contained in:
1 parent
de3fe01fe1
commit
0df4cbf9f4
1 file changed
+1
-1
@@ -443,7 +443,7 @@ public class QueryParams implements Cloneable
|
||||
if (isKeyWord(args.get(i)))
|
||||
break;
|
||||
if (i == offset)
|
||||
return null;
|
||||
return new String[0];
|
||||
final String[] values = new String[i - offset];
|
||||
for (int j = offset; j < i; j++)
|
||||
values[j - offset] = args.get(j);
|
||||
|
||||
Reference in new issue
Block a user