From bd55151431b2e47eb87fe32c9647b5ac3bc9b2d2 Mon Sep 17 00:00:00 2001 From: Mitchell Gale Date: Wed, 9 Aug 2023 16:35:04 -0700 Subject: [PATCH] replaced nbsp with pre tag. Signed-off-by: Mitchell Gale --- .../sql/ast/expression/QualifiedName.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/org/opensearch/sql/ast/expression/QualifiedName.java b/core/src/main/java/org/opensearch/sql/ast/expression/QualifiedName.java index 4f2d7eabf0..852b61cfa8 100644 --- a/core/src/main/java/org/opensearch/sql/ast/expression/QualifiedName.java +++ b/core/src/main/java/org/opensearch/sql/ast/expression/QualifiedName.java @@ -75,13 +75,19 @@ public Optional first() { } /** + *
    * Get rest parts of the qualified name. Assume that there must be remaining parts so caller is
-   * responsible for the check (first() or size() must be called first).
- * For example:
- * {@code
  QualifiedName name = ...
  Optional first = - * name.first();
  if (first.isPresent()) {
  name.rest() ...
  }
} - * + * responsible for the check (first() or size() must be called first). + * For example: + * {@code + * QualifiedName name = ... + * Optional first = name.first(); + * if (first.isPresent()) { + * name.rest() ... + * } + * } * @return rest part(s) + *
*/ public QualifiedName rest() { return QualifiedName.of(parts.subList(1, parts.size()));