jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [3/7] jena git commit: Localise warning and suppress.
Date Sat, 08 Oct 2016 16:26:15 GMT
Localise warning and suppress.

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

Branch: refs/heads/master
Commit: 21b3b609e086b5db367b0a6831dcebed4097572f
Parents: 98c94f2
Author: Andy Seaborne <andy@apache.org>
Authored: Sat Oct 8 16:23:18 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Sat Oct 8 16:23:18 2016 +0100

----------------------------------------------------------------------
 .../test/java/org/apache/jena/rdf/model/test/TestModelRead.java  | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/21b3b609/jena-core/src/test/java/org/apache/jena/rdf/model/test/TestModelRead.java
----------------------------------------------------------------------
diff --git a/jena-core/src/test/java/org/apache/jena/rdf/model/test/TestModelRead.java b/jena-core/src/test/java/org/apache/jena/rdf/model/test/TestModelRead.java
index a9f9c76..c4a7e26 100644
--- a/jena-core/src/test/java/org/apache/jena/rdf/model/test/TestModelRead.java
+++ b/jena-core/src/test/java/org/apache/jena/rdf/model/test/TestModelRead.java
@@ -19,7 +19,6 @@
 package org.apache.jena.rdf.model.test ;
 
 import org.apache.jena.iri.IRIException ;
-import org.apache.jena.n3.IRIResolver;
 import org.apache.jena.rdf.model.Model ;
 import org.apache.jena.rdf.model.ModelFactory ;
 import org.apache.jena.rdf.model.test.helpers.ModelHelper ;
@@ -70,11 +69,10 @@ public class TestModelRead extends AbstractModelTestBase
     @SuppressWarnings("deprecation")
     public void testSimpleLoadImplictBase() throws IRIException {
         final Model mBasedImplicit = createModel() ;
-        String fn=IRIResolver.resolveGlobal(getFileName("modelReading/based.n3"));
+        String fn=org.apache.jena.n3.IRIResolver.resolveGlobal(getFileName("modelReading/based.n3"));
         final Model wanted = createModel().add(ModelHelper.resource(fn), ModelHelper.property("ja:predicate"),
                                                ModelHelper.resource("ja:object")) ;
         mBasedImplicit.read(fn, "N3") ;
         ModelHelper.assertIsoModels(wanted, mBasedImplicit) ;
     }
-
 }


Mime
View raw message