You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2021/09/05 13:35:44 UTC

[jena] branch main updated: Whitespace and typo

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

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new 535d2ad  Whitespace and typo
535d2ad is described below

commit 535d2ad9a54dfb1d57f8d154c3c876849ea93c7b
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Sun Sep 5 14:35:37 2021 +0100

    Whitespace and typo
---
 .../main/java/org/apache/jena/vocabulary/RDF.java  | 24 +++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/jena-core/src/main/java/org/apache/jena/vocabulary/RDF.java b/jena-core/src/main/java/org/apache/jena/vocabulary/RDF.java
index b6a39f9..081160c 100644
--- a/jena-core/src/main/java/org/apache/jena/vocabulary/RDF.java
+++ b/jena-core/src/main/java/org/apache/jena/vocabulary/RDF.java
@@ -53,7 +53,7 @@ public class RDF{
 
     public static Property li( int i )
         { return property( "_" + i ); }
-    
+
     public static final Resource    Alt          = Init.Alt();
     public static final Resource    Bag          = Init.Bag();
     public static final Resource    Property     = Init._Property();
@@ -82,14 +82,14 @@ public class RDF{
     public static final RDFDatatype dtRDFHTML    = Init.dtRDFHTML();
     public static final RDFDatatype dtLangString = Init.dtLangString();
     public static final RDFDatatype dtXMLLiteral = Init.dtXMLLiteral();
-    
+
     // Added to the RDF namespace December 2019
     // https://lists.w3.org/Archives/Public/semantic-web/2019Dec/0027.html
-    
+
     // rdfs:comment "The datatype of RDF literals storing JSON content."
     public static final RDFDatatype dtRDFJSON    = Init.dtRDFJSON();
     public static final Resource JSON            = Init.JSON();
-    
+
     // rdfs:comment "A class representing a compound literal."
     public static final Resource CompoundLiteral = Init.CompoundLiteral();
 
@@ -98,19 +98,19 @@ public class RDF{
 
     // rdfs:comment "The base direction component of a CompoundLiteral."
     public static final Property direction       = Init.direction();
-    
+
 
     /** RDF constants are used during Jena initialization.
      * <p>
      * If that initialization is triggered by touching the RDF class,
      * then the constants are null.
      * <p>
-     * So for these cases, call this helper class: Init.function()   
+     * So for these cases, call this helper class: Init.function()
      */
     public static class Init {
 
         // JENA-1294
-        // Version that calculate the constant when called. 
+        // Version that calculates the constant when called.
         public static Resource Alt()              { return resource( "Alt" ); }
         public static Resource Bag()              { return resource( "Bag" ); }
         // Java8 bug : https://bugzilla.redhat.com/show_bug.cgi?id=1423421
@@ -129,12 +129,12 @@ public class RDF{
         public static Property object()           { return property( "object" ); }
         public static Property type()             { return property( "type" ); }
         public static Property value()            { return property( "value" ); }
-        
+
         public static Resource langString()       { return ResourceFactory.createResource(dtLangString().getURI()); }
         public static Resource HTML()             { return ResourceFactory.createResource(dtRDFHTML().getURI()); }
         public static Resource xmlLiteral()       { return ResourceFactory.createResource(dtXMLLiteral().getURI()); }
         public static Resource JSON()             { return ResourceFactory.createResource(dtRDFJSON().getURI()) ; }
-        
+
         public static Resource CompoundLiteral()  { return resource( "CompoundLiteral" ); }
         public static Property language()         { return property( "language" ); }
         public static Property direction()        { return property( "direction" ); }
@@ -143,14 +143,14 @@ public class RDF{
         public static RDFDatatype dtLangString()  { return RDFLangString.rdfLangString; }
         public static RDFDatatype dtXMLLiteral()  { return XMLLiteralType.theXMLLiteralType; }
         public static RDFDatatype dtRDFJSON()     { return RDFjson.rdfJSON; }
-        
+
     }
-    
+
     /**
         The same items of vocabulary, but at the Node level, parked inside a
         nested class so that there's a simple way to refer to them.
     */
-    @SuppressWarnings("hiding") 
+    @SuppressWarnings("hiding")
     public static final class Nodes
     {
         public static final Node Alt        = Init.Alt().asNode();