You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2015/10/11 14:38:56 UTC

clerezza-rdf-core git commit: minor tidying up at several locations

Repository: clerezza-rdf-core
Updated Branches:
  refs/heads/master 4627115ea -> fc604d6e1


minor tidying up at several locations

Project: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/commit/fc604d6e
Tree: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/tree/fc604d6e
Diff: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/diff/fc604d6e

Branch: refs/heads/master
Commit: fc604d6e1f914ad0f2f5bae49ffdbe70ff340565
Parents: 4627115
Author: Reto Gmür <re...@apache.org>
Authored: Sun Oct 11 14:38:13 2015 +0200
Committer: Reto Gmür <re...@apache.org>
Committed: Sun Oct 11 14:38:13 2015 +0200

----------------------------------------------------------------------
 api/pom.xml                                     | 30 ++------------------
 impl.sparql/pom.xml                             | 22 ++++++++++++--
 impl.utils/pom.xml                              |  3 +-
 .../rdf/impl/utils/PlainLiteralImpl.java        |  3 +-
 pom.xml                                         |  2 +-
 5 files changed, 25 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/fc604d6e/api/pom.xml
----------------------------------------------------------------------
diff --git a/api/pom.xml b/api/pom.xml
index cda4f91..aef406b 100644
--- a/api/pom.xml
+++ b/api/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
-        <version>6</version>
+        <version>7</version>
         <relativePath />
      </parent>
 
@@ -34,7 +34,7 @@
     <packaging>bundle</packaging>
     <name>Clerezza Commons RDF API</name>
     <description>
-        Apache Commons RDF provides an API modelling the RDF data model as defined by 
+        Apache Clerezza Commons RDF provides an API modelling the RDF data model as defined by 
         http://www.w3.org/TR/rdf11-concepts/
     </description>
     
@@ -58,34 +58,8 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>4.12</version>
             <scope>test</scope>
         </dependency>
     </dependencies>
 
-    <distributionManagement>
-      <site>
-        <id>apache.website</id>
-        <name>Apache Commons Site</name>
-        <url>${commons.deployment.protocol}://people.apache.org/www/commons.apache.org/${commons.componentid}</url>
-      </site>
-    </distributionManagement>
-
-    <properties>
-        <maven.compiler.source>1.7</maven.compiler.source>
-        <maven.compiler.target>1.7</maven.compiler.target>
-        <commons.javadoc.java.link>http://docs.oracle.com/javase/7/docs/api/</commons.javadoc.java.link>
-        <commons.componentid>rdf</commons.componentid>
-        <commons.release.version>${project.version}</commons.release.version>
-        <commons.encoding>UTF-8</commons.encoding>
-<!--        <commons.rc.version>RC1</commons.rc.version>
-        <commons.release.desc>(Requires Java ${maven.compiler.target} or later)</commons.release.desc>
-        <commons.release.2.version>1.4.1</commons.release.2.version>
-        <commons.release.2.binary.suffix />
-        <commons.release.2.desc>(Requires Java 1.3 or later)</commons.release.2.desc> -->
-        <!-- TBD <commons.jira.id>RDF</commons.jira.id>
-        <commons.jira.pid></commons.jira.pid> -->
-    </properties>
-
-
 </project>

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/fc604d6e/impl.sparql/pom.xml
----------------------------------------------------------------------
diff --git a/impl.sparql/pom.xml b/impl.sparql/pom.xml
index c0fc638..e6b87e7 100644
--- a/impl.sparql/pom.xml
+++ b/impl.sparql/pom.xml
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+-->
+
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     
@@ -6,7 +25,7 @@
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
-        <version>6</version>
+        <version>7</version>
         <relativePath />
     </parent>
 
@@ -75,7 +94,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>4.12</version>
             <scope>test</scope>
         </dependency>
         <dependency>

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/fc604d6e/impl.utils/pom.xml
----------------------------------------------------------------------
diff --git a/impl.utils/pom.xml b/impl.utils/pom.xml
index ed95045..fb1186f 100644
--- a/impl.utils/pom.xml
+++ b/impl.utils/pom.xml
@@ -24,7 +24,7 @@
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
-        <version>6</version>
+        <version>7</version>
         <relativePath />
     </parent>
 
@@ -78,7 +78,6 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>4.12</version>
             <scope>test</scope>
         </dependency>
     </dependencies>

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/fc604d6e/impl.utils/src/main/java/org/apache/clerezza/commons/rdf/impl/utils/PlainLiteralImpl.java
----------------------------------------------------------------------
diff --git a/impl.utils/src/main/java/org/apache/clerezza/commons/rdf/impl/utils/PlainLiteralImpl.java b/impl.utils/src/main/java/org/apache/clerezza/commons/rdf/impl/utils/PlainLiteralImpl.java
index 856cdf2..49f2633 100644
--- a/impl.utils/src/main/java/org/apache/clerezza/commons/rdf/impl/utils/PlainLiteralImpl.java
+++ b/impl.utils/src/main/java/org/apache/clerezza/commons/rdf/impl/utils/PlainLiteralImpl.java
@@ -62,7 +62,7 @@ public class PlainLiteralImpl extends AbstractLiteral implements Literal, Serial
 
     @Override
     public String toString() {
-        StringBuffer result = new StringBuffer();
+        final StringBuilder result = new StringBuilder();
         result.append('\"').append(lexicalForm).append('\"');
         if (language != null) {
             result.append("@").append(language.toString());
@@ -77,5 +77,4 @@ public class PlainLiteralImpl extends AbstractLiteral implements Literal, Serial
     private final IRI dataType;
     private static final IRI XSD_STRING = new IRI("http://www.w3.org/2001/XMLSchema#string");
     private static final IRI RDF_LANG_STRING = new IRI("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString");
-    //private static final int XSD_STRING_HASH = dataType.hashCode();
 }

http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/fc604d6e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 28efb24..4a2f158 100644
--- a/pom.xml
+++ b/pom.xml
@@ -32,7 +32,7 @@
     <parent>
         <groupId>org.apache.clerezza</groupId>
         <artifactId>clerezza</artifactId>
-        <version>6</version>
+        <version>7</version>
         <relativePath />
      </parent>