Revision: 1847
Author: [email protected]
Date: Mon Feb 15 15:17:43 2010
Log: remove uneccessary PREFIX from initial query content and fix formatting
http://code.google.com/p/simal/source/detail?r=1847

Modified:
/trunk/uk.ac.osswatch.simal.web/src/main/java/uk/ac/osswatch/simal/wicket/SparqlQueryPage.java

=======================================
--- /trunk/uk.ac.osswatch.simal.web/src/main/java/uk/ac/osswatch/simal/wicket/SparqlQueryPage.java Wed Feb 3 10:48:02 2010 +++ /trunk/uk.ac.osswatch.simal.web/src/main/java/uk/ac/osswatch/simal/wicket/SparqlQueryPage.java Mon Feb 15 15:17:43 2010
@@ -32,10 +32,9 @@

   private static final String SPARQL_QUERY_STRING_FIELD = "query";

- private static final String QUERY_PREFIX = " PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> \n"
-      + " PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n"
-      + " PREFIX  doap: <http://usefulinc.com/ns/doap#> \n"
-      + " PREFIX  simal: <http://oss-watch.ac.uk/ns/0.2/simal#> \n\n";
+ private static final String QUERY_PREFIX = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n"
+      + "PREFIX  doap: <http://usefulinc.com/ns/doap#> \n"
+      + "PREFIX  simal: <http://oss-watch.ac.uk/ns/0.2/simal#> \n\n";

private final SparqlQueryInputModel inputModel = new SparqlQueryInputModel();

--
You received this message because you are subscribed to the Google Groups "Simal 
Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simal-commits?hl=en.

Reply via email to