NihalJain commented on code in PR #2000:
URL: https://github.com/apache/phoenix/pull/2000#discussion_r1797637677
##########
phoenix-core/src/it/java/org/apache/phoenix/end2end/End2EndTestDriver.java:
##########
@@ -117,7 +117,7 @@ protected void addOptions() {
@Override
protected void processOptions(CommandLine cmd) {
- String testFilterString = cmd.getOptionValue(SHORT_REGEX_ARG, null);
+ String testFilterString = cmd.getOptionValue(SHORT_REGEX_ARG,
(String)null);
Review Comment:
we could remove the 2nd argument altogether, as the default value is anyways
null.
https://commons.apache.org/proper/commons-cli/apidocs/org/apache/commons/cli/CommandLine.html#getOptionValue(char)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]