This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rdf.git


The following commit(s) were added to refs/heads/master by this push:
     new 967dbfe1 Fix formatting
967dbfe1 is described below

commit 967dbfe1db6fac010f9881350cc5076b1ba86efd
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue Aug 22 10:12:04 2023 -0400

    Fix formatting
---
 .../src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java         | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java 
b/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
index d7e5d037..6a2a057b 100644
--- a/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
+++ b/commons-rdf-rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/RDF4J.java
@@ -297,11 +297,11 @@ public final class RDF4J implements RDF {
      * @return A {@link RDF4JBlankNodeOrIRI} that corresponds to the RDF4J 
Resource
      */
     public RDF4JBlankNodeOrIRI asRDFTerm(final 
org.eclipse.rdf4j.model.Resource value) {
-        if(value instanceof IRI){
-            return asRDFTerm((IRI)value);
+        if (value instanceof IRI) {
+            return asRDFTerm((IRI) value);
         }
-        if (value instanceof BNode){
-            return asRDFTerm((BNode)value);
+        if (value instanceof BNode) {
+            return asRDFTerm((BNode) value);
         }
         throw new IllegalArgumentException("Value is not a BNode or IRI: " + 
value.getClass());
     }

Reply via email to