You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2021/08/22 14:17:40 UTC
[jena] branch main updated: Restriction due to javadoc limitations
This is an automated email from the ASF dual-hosted git repository.
andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git
The following commit(s) were added to refs/heads/main by this push:
new d3fb70b Restriction due to javadoc limitations
d3fb70b is described below
commit d3fb70bf45dc20ea0a716e3d26f2886c7e3cd427
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Sun Aug 22 15:17:27 2021 +0100
Restriction due to javadoc limitations
---
jena-shex/src/main/java/org/apache/jena/shex/parser/ShExC.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jena-shex/src/main/java/org/apache/jena/shex/parser/ShExC.java b/jena-shex/src/main/java/org/apache/jena/shex/parser/ShExC.java
index 130f1d5..523a67a 100644
--- a/jena-shex/src/main/java/org/apache/jena/shex/parser/ShExC.java
+++ b/jena-shex/src/main/java/org/apache/jena/shex/parser/ShExC.java
@@ -87,7 +87,7 @@ public class ShExC {
private static Reader setReader(InputStream input) {
Reader r = IO.asUTF8(input);
// If not buffered, add a buffering layer.
- if ( ! ( input instanceof BufferedInputStream ) ) {
+ if ( ! ( input instanceof BufferedInputStream ) ) {
// Javacc reads in chunks using "read(char[])"
// so the cost of synchronized on "int read()" is negligible.
// Convert to Java chars in large chunks.
@@ -103,7 +103,7 @@ public class ShExC {
* @return ShexSchema
*/
public static ShexSchema parse(StringReader input, String baseURI) {
- try ( input ) {
+ try ( StringReader in = input ) {
ShExJavacc parser = new ShExJavacc(input);
return parse$(parser, null, baseURI, null);
}