File tree Expand file tree Collapse file tree
src/main/java/de/alexgruen/query/compiler/parser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,42 +25,6 @@ Logical operators:
2525AND, OR, XOR, NOR
2626```
2727
28- Install
29- -------
30- Add this to you pom.xml
31-
32- ``` xml
33- <repositories >
34- <repository >
35- <id >alexgruen-snapshot</id >
36- <name >alexgruen-snapshot</name >
37- <url >http://maven.alexgruen.de/artifactory/public-snapshot</url >
38- <snapshots >
39- <enabled >true</enabled >
40- </snapshots >
41- </repository >
42- <repository >
43- <id >alexgruen-release</id >
44- <name >alexgruen-release</name >
45- <url >http://maven.alexgruen.de/artifactory/public-release</url >
46- <snapshots >
47- <enabled >false</enabled >
48- </snapshots >
49- </repository >
50- ...
51- </repositories >
52- ...
53- <dependencies >
54- ...
55- <dependency >
56- <groupId >de.alexgruen</groupId >
57- <artifactId >querycompiler</artifactId >
58- <version >0.3-SNAPSHOT</version >
59- </dependency >
60- ...
61- </dependencies >
62- ```
63-
6428Build
6529-----
6630To build the library from sources:
Original file line number Diff line number Diff line change 4040 <dependency >
4141 <groupId >org.antlr</groupId >
4242 <artifactId >antlr4-runtime</artifactId >
43- <version >4.7.1 </version >
43+ <version >4.9.2 </version >
4444 </dependency >
4545 <dependency >
4646 <groupId >org.junit.jupiter</groupId >
4747 <artifactId >junit-jupiter-api</artifactId >
48- <version >RELEASE </version >
48+ <version >5.7.2 </version >
4949 <scope >test</scope >
5050 </dependency >
5151 </dependencies >
5454 <plugin >
5555 <groupId >org.antlr</groupId >
5656 <artifactId >antlr4-maven-plugin</artifactId >
57- <version >4.7.1 </version >
57+ <version >4.9.2 </version >
5858 <configuration >
5959 <visitor >true</visitor >
6060 </configuration >
Original file line number Diff line number Diff line change @@ -97,9 +97,6 @@ public Boolean parse(String s) throws ParseException {
9797 )) {
9898 throw new ParseException (String .format ("illegal boolean value: %s" , s ), 0 );
9999 }
100- if (s .equals ("f" )){
101- return false ;
102- }
103100 switch (s ){
104101 case "f" :return false ;
105102 case "t" :return true ;
You can’t perform that action at this time.
0 commit comments