minor tidying up at several locations
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>
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>
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>
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 @@
@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 @@
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();
}
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>