File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
main/java/com/github/odiszapc/nginxparser
test/java/com/github/odiszapc/nginxparser Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
22
23
23
<groupId >com.github.odiszapc</groupId >
24
24
<artifactId >nginxparser</artifactId >
25
- <version >0.9.1 </version >
25
+ <version >0.9.2 </version >
26
26
<packaging >jar</packaging >
27
27
28
28
<name >${project.groupId} :${project.artifactId} </name >
Original file line number Diff line number Diff line change @@ -47,9 +47,8 @@ public class NgxConfig extends NgxBlock {
47
47
* @param path Path to config file
48
48
* @return Config object
49
49
* @throws IOException
50
- * @throws ParseException
51
50
*/
52
- public static NgxConfig read (String path ) throws IOException , ParseException {
51
+ public static NgxConfig read (String path ) throws IOException {
53
52
FileInputStream input = new FileInputStream (path );
54
53
return read (input );
55
54
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public static InputStream getStream(String path) {
36
36
}
37
37
38
38
public static String dump (String path ) throws Exception {
39
- NgxConfig conf = TestUtils .parseJavaCC (path );
39
+ NgxConfig conf = TestUtils .parseAntlr (path );
40
40
NgxDumper dumper = new NgxDumper (conf );
41
41
return dumper .dump ();
42
42
}
You can’t perform that action at this time.
0 commit comments