Skip to content

Commit

Permalink
extend javadoc with ParserException;
Browse files Browse the repository at this point in the history
removed unused import;

Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed Aug 11, 2021
1 parent babaeaf commit eddc09c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
package org.eclipse.ditto.rql.model.predicates;

import org.eclipse.ditto.rql.model.ParserException;
import org.eclipse.ditto.rql.model.predicates.ast.RootNode;

/**
Expand All @@ -25,6 +26,7 @@ public interface PredicateParser {
* @param input the input that should be parsed.
* @return the AST {@link RootNode} representing the root of the AST.
* @throws NullPointerException if {@code input} is {@code null}.
* @throws ParserException if {@code input} could not be parsed.
*/
RootNode parse(String input);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@
package org.eclipse.ditto.rql.parser.internal

import akka.parboiled2._
import org.eclipse.ditto.rql.model.predicates.ast.SingleComparisonNode.Type
import org.eclipse.ditto.rql.model.predicates.ast._
import org.eclipse.ditto.rql.model.ParserException
import org.eclipse.ditto.rql.model.predicates.PredicateParser
import org.eclipse.ditto.rql.model.predicates.ast.{ExistsNode, LogicalNode, MultiComparisonNode, Node, RootNode, SingleComparisonNode}
import org.eclipse.ditto.rql.model.predicates.ast.SingleComparisonNode.Type
import org.eclipse.ditto.rql.model.predicates.ast._

import scala.collection.immutable
import scala.jdk.javaapi.CollectionConverters
Expand Down

0 comments on commit eddc09c

Please sign in to comment.