Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Nov 13, 2024
1 parent 4e018a0 commit f2693a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions solr/core/src/java/org/apache/solr/cli/StreamTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,12 @@ public StreamTool(PrintStream stdout) {
public String getName() {
return "stream";
}

@Override
public String getUsage() {
// Specify that the last argument is the streaming expression
return "bin/solr stream [--array-delimiter <CHARACTER>] [-c <NAME>] [--delimiter <CHARACTER>] [-e <ENVIRONMENT>] [-f\n" +
" <FIELDS>] [-h] [--header] [-s <HOST>] [-u <credentials>] [-v] [-z <HOST>] <streaming expression OR stream_file.expr>\n";
return "bin/solr stream [--array-delimiter <CHARACTER>] [-c <NAME>] [--delimiter <CHARACTER>] [-e <ENVIRONMENT>] [-f\n"
+ " <FIELDS>] [-h] [--header] [-s <HOST>] [-u <credentials>] [-v] [-z <HOST>] <streaming expression OR stream_file.expr>\n";
}

private static final Option EXECUTION_OPTION =
Expand Down Expand Up @@ -488,8 +489,7 @@ private static TupleStream constructStream(
return streamFactory.constructStream(streamExpression);
}

static String readExpression(LineNumberReader bufferedReader, String[] args)
throws IOException {
static String readExpression(LineNumberReader bufferedReader, String[] args) throws IOException {

StringBuilder exprBuff = new StringBuilder();

Expand Down

0 comments on commit f2693a9

Please sign in to comment.