We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c203ede commit 78032e6Copy full SHA for 78032e6
src/main/java/com/github/odiszapc/nginxparser/NgxConfig.java
@@ -51,8 +51,7 @@ public class NgxConfig extends NgxBlock {
51
*/
52
public static NgxConfig read(String path) throws IOException, ParseException {
53
FileInputStream input = new FileInputStream(path);
54
- NginxConfigParser parser = new NginxConfigParser(input);
55
- return parser.parse();
+ return read(input);
56
}
57
58
public static NgxConfig read(InputStream in) throws IOException {
0 commit comments