jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [08/15] jena git commit: LiteralLabelFactory : create(Object) -> createTypeLiteral(Object)
Date Tue, 23 Dec 2014 17:59:04 GMT
LiteralLabelFactory : create(Object) -> createTypeLiteral(Object)

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

Branch: refs/heads/master
Commit: 8d209fafa9cdd5e110a3675e5fdaee6fbdbc29a4
Parents: 36ae896
Author: Andy Seaborne <andy@apache.org>
Authored: Tue Dec 23 15:35:03 2014 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Tue Dec 23 15:35:03 2014 +0000

----------------------------------------------------------------------
 .../org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java     | 2 +-
 .../org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/8d209faf/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java
----------------------------------------------------------------------
diff --git a/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java
b/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java
index baea059..a79148b 100644
--- a/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java
+++ b/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilder.java
@@ -101,7 +101,7 @@ public abstract class AbstractQueryBuilder<T extends AbstractQueryBuilder<T>>
 			}
 
 		}
-		return NodeFactory.createLiteral(LiteralLabelFactory.create(o));
+		return NodeFactory.createLiteral(LiteralLabelFactory.createTypedLiteral(o));
 	}
 
 	/**

http://git-wip-us.apache.org/repos/asf/jena/blob/8d209faf/jena-extras/jena-querybuilder/src/test/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java
----------------------------------------------------------------------
diff --git a/jena-extras/jena-querybuilder/src/test/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java
b/jena-extras/jena-querybuilder/src/test/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java
index c51f9eb..d68d919 100644
--- a/jena-extras/jena-querybuilder/src/test/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java
+++ b/jena-extras/jena-querybuilder/src/test/java/org/apache/jena/arq/querybuilder/AbstractQueryBuilderTest.java
@@ -82,7 +82,7 @@ public class AbstractQueryBuilderTest {
 		assertEquals(NodeFactory.createURI("one"), n);
 
 		n = builder.makeNode(builder);
-		LiteralLabel ll = LiteralLabelFactory.create(builder);
+		LiteralLabel ll = LiteralLabelFactory.createTypedLiteral(builder);
 		assertEquals(NodeFactory.createLiteral(ll), n);
 
 	}


Mime
View raw message