64 lines
2.5 KiB
Diff
64 lines
2.5 KiB
Diff
From 3215adf86c255c93316e8aacb84b1fc9a465e138 Mon Sep 17 00:00:00 2001
|
|
From: wangge <wang__ge@126.com>
|
|
Date: Mon, 31 Aug 2020 14:14:53 +0800
|
|
Subject: [PATCH] fix use system antlr
|
|
|
|
---
|
|
.../internal/parsing/ejbql/EJBQLParser.java | 26 +++++++++----------
|
|
.../ejbql/antlr273/EJBQLParserBuilder.java | 2 +-
|
|
2 files changed, 14 insertions(+), 14 deletions(-)
|
|
|
|
diff --git a/oracle/toplink/essentials/internal/parsing/ejbql/EJBQLParser.java b/oracle/toplink/essentials/internal/parsing/ejbql/EJBQLParser.java
|
|
index 5faab5c..9c9cf20 100644
|
|
--- a/oracle/toplink/essentials/internal/parsing/ejbql/EJBQLParser.java
|
|
+++ b/oracle/toplink/essentials/internal/parsing/ejbql/EJBQLParser.java
|
|
@@ -42,19 +42,19 @@ import java.util.List;
|
|
import java.util.ArrayList;
|
|
|
|
// Third party (ANLTR) stuff
|
|
-import persistence.antlr.ANTLRException;
|
|
-import persistence.antlr.LLkParser;
|
|
-import persistence.antlr.MismatchedCharException;
|
|
-import persistence.antlr.MismatchedTokenException;
|
|
-import persistence.antlr.NoViableAltException;
|
|
-import persistence.antlr.NoViableAltForCharException;
|
|
-import persistence.antlr.ParserSharedInputState;
|
|
-import persistence.antlr.RecognitionException;
|
|
-import persistence.antlr.Token;
|
|
-import persistence.antlr.TokenBuffer;
|
|
-import persistence.antlr.TokenStream;
|
|
-import persistence.antlr.TokenStreamException;
|
|
-import persistence.antlr.TokenStreamRecognitionException;
|
|
+import antlr.ANTLRException;
|
|
+import antlr.LLkParser;
|
|
+import antlr.MismatchedCharException;
|
|
+import antlr.MismatchedTokenException;
|
|
+import antlr.NoViableAltException;
|
|
+import antlr.NoViableAltForCharException;
|
|
+import antlr.ParserSharedInputState;
|
|
+import antlr.RecognitionException;
|
|
+import antlr.Token;
|
|
+import antlr.TokenBuffer;
|
|
+import antlr.TokenStream;
|
|
+import antlr.TokenStreamException;
|
|
+import antlr.TokenStreamRecognitionException;
|
|
|
|
//toplink imports
|
|
import oracle.toplink.essentials.exceptions.EJBQLException;
|
|
diff --git a/oracle/toplink/essentials/internal/parsing/ejbql/antlr273/EJBQLParserBuilder.java b/oracle/toplink/essentials/internal/parsing/ejbql/antlr273/EJBQLParserBuilder.java
|
|
index 9bf432a..26a3d3f 100644
|
|
--- a/oracle/toplink/essentials/internal/parsing/ejbql/antlr273/EJBQLParserBuilder.java
|
|
+++ b/oracle/toplink/essentials/internal/parsing/ejbql/antlr273/EJBQLParserBuilder.java
|
|
@@ -38,7 +38,7 @@
|
|
// Copyright (c) 1998, 2007, Oracle. All rights reserved.
|
|
package oracle.toplink.essentials.internal.parsing.ejbql.antlr273;
|
|
|
|
-import persistence.antlr.TokenBuffer;
|
|
+import antlr.TokenBuffer;
|
|
|
|
//java imports
|
|
import java.io.StringReader;
|
|
--
|
|
2.23.0
|
|
|