You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by st...@apache.org on 2017/02/09 00:57:07 UTC
commons-rdf git commit: COMMONSRDF-47: RDFSyntax::byName returns an
Optional
Repository: commons-rdf
Updated Branches:
refs/heads/COMMONSRDF-47 e39dc2f43 -> db17f1ac7
COMMONSRDF-47: RDFSyntax::byName returns an Optional
Thanks to @acoburn!
https://github.com/apache/commons-rdf/pull/27#discussion_r95862649
Project: http://git-wip-us.apache.org/repos/asf/commons-rdf/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rdf/commit/db17f1ac
Tree: http://git-wip-us.apache.org/repos/asf/commons-rdf/tree/db17f1ac
Diff: http://git-wip-us.apache.org/repos/asf/commons-rdf/diff/db17f1ac
Branch: refs/heads/COMMONSRDF-47
Commit: db17f1ac73bc9ef7ad97123bcbe6184b499657e6
Parents: e39dc2f
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Thu Feb 9 00:57:00 2017 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Thu Feb 9 00:57:00 2017 +0000
----------------------------------------------------------------------
api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-rdf/blob/db17f1ac/api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java
----------------------------------------------------------------------
diff --git a/api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java b/api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java
index edf68af..50b934f 100644
--- a/api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java
+++ b/api/src/test/java/org/apache/commons/rdf/api/RDFSyntaxTest.java
@@ -116,7 +116,7 @@ public class RDFSyntaxTest {
@Test
public void valueOf() throws Exception {
- assertEquals(RDFSyntax.TURTLE, RDFSyntax.byName("TURTLE"));
+ assertEquals(RDFSyntax.TURTLE, RDFSyntax.byName("TURTLE").get());
}
}