Skip to content

Commit

Permalink
Fixed java doc spelling and improving string concatination.
Browse files Browse the repository at this point in the history
Signed-off-by: Mitchell Gale <[email protected]>
  • Loading branch information
MitchellGale committed Aug 3, 2023
1 parent bb14f18 commit da35a7e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import lombok.RequiredArgsConstructor;
import org.opensearch.sql.ast.AbstractNodeVisitor;

/** An unresolved plan that represents fetching the next batch in paginationed plan. */
/** An unresolved plan that represents fetching the next batch in paginated plan. */
@RequiredArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class FetchCursor extends UnresolvedPlan {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.opensearch.sql.ast.expression.QualifiedName;
import org.opensearch.sql.ast.expression.UnresolvedExpression;

/** ASTNode for Table Function. */
/** AST Node for Table Function. */
@ToString
@EqualsAndHashCode(callSuper = false)
@RequiredArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ExprDateValue(String date) {
this.date = LocalDate.parse(date, DATE_TIME_FORMATTER_VARIABLE_NANOS_OPTIONAL);
} catch (DateTimeParseException e) {
throw new SemanticCheckException(
String.format("date:%s in unsupported format, please use " + "yyyy-MM-dd", date));
String.format("date:%s in unsupported format, please use yyyy-MM-dd", date));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ExprDatetimeValue(String datetime) {
} catch (DateTimeParseException e) {
throw new SemanticCheckException(
String.format(
"datetime:%s in unsupported format, please " + "use yyyy-MM-dd HH:mm:ss[.SSSSSSSSS]",
"datetime:%s in unsupported format, please use yyyy-MM-dd HH:mm:ss[.SSSSSSSSS]",
datetime));
}
}
Expand Down

0 comments on commit da35a7e

Please sign in to comment.