jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject jena git commit: Example needs source(in) setting.
Date Sun, 12 Mar 2017 15:27:57 GMT
Repository: jena
Updated Branches:
  refs/heads/master df5f9cbc0 -> 057b6396d


Example needs source(in) setting.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/057b6396
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/057b6396
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/057b6396

Branch: refs/heads/master
Commit: 057b6396d75b1ed06f12bbdd53e01897be83806e
Parents: df5f9cb
Author: Andy Seaborne <andy@apache.org>
Authored: Sun Mar 12 15:27:00 2017 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Sun Mar 12 15:27:00 2017 +0000

----------------------------------------------------------------------
 jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/057b6396/jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java
----------------------------------------------------------------------
diff --git a/jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java b/jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java
index d751edd..e69cb61 100644
--- a/jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java
+++ b/jena-arq/src-examples/arq/examples/riot/ExRIOT_2.java
@@ -55,6 +55,7 @@ public class ExRIOT_2
         // The parsers will do the necessary character set conversion.  
         try (InputStream in = new FileInputStream("data.trig")) {
             RDFParser.create()
+                .source(in)
                 .lang(RDFLanguages.TRIG)
                 .errorHandler(ErrorHandlerFactory.errorHandlerStrict)
                 .base("http://example/base")


Mime
View raw message