Skip to content

Commit 39c6a48

Browse files
committed
1 parent 6001fde commit 39c6a48

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
<dependency>
111111
<groupId>net.java.dev.javacc</groupId>
112112
<artifactId>javacc</artifactId>
113-
<version>7.0.3</version>
113+
<version>7.0.4</version>
114114
</dependency>
115115
</dependencies>
116116
</plugin>

src/main/java/net/sf/jsqlparser/parser/SimpleCharStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ protected void ExpandBuff(boolean wrapAround) {
8888
maxNextCharInd = bufpos -= tokenBegin;
8989
}
9090
} catch (Throwable t) {
91-
throw new Error(t.getMessage());
91+
throw new RuntimeException(t.getMessage());
9292
}
9393

9494
bufsize += 2048;
@@ -385,7 +385,7 @@ public void adjustBeginLineColumn(int newLine, int newCol) {
385385
int i = 0;
386386
int j = 0;
387387
int k = 0;
388-
int nextColDiff = 0;
388+
int nextColDiff = 0;
389389
int columnDiff = 0;
390390

391391
while (i < len && bufline[j = start % bufsize] == bufline[k = ++start % bufsize]) {

0 commit comments

Comments
 (0)