Skip to content

Commit f5c4e7f

Browse files
committed
ci(super-linter): linting
1 parent 5a43c78 commit f5c4e7f

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

‎src/main/java/org/leplus/sql/ConstantListener.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77
import org.leplus.antlr4.PLSQLParser.ConstantContext;
88

99
/**
10-
* ANTLR listener that collects the literal constants of a PL/SQL parse tree.
11-
* {@code NULL} literals are skipped, since they denote absence rather than a
12-
* value.
10+
* ANTLR listener that collects the literal constants of a PL/SQL parse tree. {@code NULL} literals
11+
* are skipped, since they denote absence rather than a value.
1312
*/
1413
public class ConstantListener extends PLSQLBaseListener {
1514

‎src/main/java/org/leplus/sql/ExceptionErrorListener.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
import org.antlr.v4.runtime.Recognizer;
66

77
/**
8-
* An ANTLR error listener that makes parsing fail fast: instead of ANTLR's
9-
* default "recover and continue", it rethrows the recognition exception on the
10-
* first syntax error.
8+
* An ANTLR error listener that makes parsing fail fast: instead of ANTLR's default "recover and
9+
* continue", it rethrows the recognition exception on the first syntax error.
1110
*/
1211
public class ExceptionErrorListener extends BaseErrorListener {
1312

‎src/main/java/org/leplus/sql/Inspector.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ public Inspector() {
1515
}
1616

1717
/**
18-
* Parses a SQL statement and returns the literal constants it contains, in
19-
* source order. Parsing fails fast: the first syntax error is rethrown (see
20-
* {@link ExceptionErrorListener}).
18+
* Parses a SQL statement and returns the literal constants it contains, in source order. Parsing
19+
* fails fast: the first syntax error is rethrown (see {@link ExceptionErrorListener}).
2120
*
2221
* @param sqlStatement the SQL text to inspect.
2322
* @return the constants found.

‎src/main/java/org/leplus/sql/Result.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import java.io.Serializable;
44

55
/**
6-
* A literal constant found in a SQL statement: its text value and its position.
7-
* Ordered by line, then column, then value.
6+
* A literal constant found in a SQL statement: its text value and its position. Ordered by line,
7+
* then column, then value.
88
*/
99
public class Result implements Serializable, Comparable<Result> {
1010

0 commit comments

Comments
 (0)