afs commented on a change in pull request #809:
URL: https://github.com/apache/jena/pull/809#discussion_r502769556
##########
File path: jena-core/src/main/java/org/apache/jena/reasoner/rulesys/Rule.java
##########
@@ -675,7 +673,9 @@ private static int nextSplit(int start, boolean white,
String line) {
* @throws ParserException if there is a problem
*/
public static List<Rule> parseRules(String source,BuiltinRegistry
registry) throws ParserException {
- return parseRules(new Parser(source,registry));
+ BufferedReader reader = new BufferedReader(new StringReader(source));
+ Parser parser = rulesParserFromReader(reader, registry);
+ return parseRules(parser);
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]