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 2024/04/20 21:16:05 UTC

(jena) 02/03: Tidy Test_schemagen

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

commit 6abd3ffdd81dd1c18ddd8132ff358d3fc121524e
Author: Andy Seaborne <an...@apache.org>
AuthorDate: Fri Apr 19 21:49:22 2024 +0100

    Tidy Test_schemagen
---
 jena-cmds/src/test/java/jena/Test_schemagen.java | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/jena-cmds/src/test/java/jena/Test_schemagen.java b/jena-cmds/src/test/java/jena/Test_schemagen.java
index 3a5c8fff54..522f764181 100644
--- a/jena-cmds/src/test/java/jena/Test_schemagen.java
+++ b/jena-cmds/src/test/java/jena/Test_schemagen.java
@@ -46,7 +46,6 @@ import org.junit.Test ;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-
 /**
  * <p>
  * Unit tests for schemagen
@@ -57,10 +56,12 @@ public class Test_schemagen
     // Constants
     //////////////////////////////////
 
-    String PREFIX = "@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .\n" +
-            "@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n" +
-            "@prefix owl: <http://www.w3.org/2002/07/owl#> .\n" +
-            "@prefix ex: <http://example.com/sg#> .\n";
+    String PREFIX = """
+            PREFIX rdfs:   <http://www.w3.org/2000/01/rdf-schema#>
+            PREFIX rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+            PREFIX owl:    <http://www.w3.org/2002/07/owl#>
+            PREFIX ex:     <http://example.com/sg#>
+            """;
 
     // Static variables
     //////////////////////////////////