marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@apache.org
Subject [4/4] git commit: fixed some warnings
Date Wed, 08 Jan 2014 11:03:42 GMT
fixed some warnings


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/ab9df242
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/ab9df242
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/ab9df242

Branch: refs/heads/develop
Commit: ab9df2426f0c808ea96942fc9ea5a9b582c851b2
Parents: e5e54ff
Author: Jakob Frank <jakob@apache.org>
Authored: Wed Jan 8 10:23:17 2014 +0100
Committer: Jakob Frank <jakob@apache.org>
Committed: Wed Jan 8 12:02:32 2014 +0100

----------------------------------------------------------------------
 .../core/services/templating/AdminTemplatingServiceImpl.java    | 4 ----
 .../services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java   | 5 ++---
 2 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/ab9df242/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
index b0c9db5..66cb7a7 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/templating/AdminTemplatingServiceImpl.java
@@ -19,11 +19,7 @@ package org.apache.marmotta.platform.core.services.templating;
 
 import java.io.ByteArrayOutputStream;
 import java.io.OutputStreamWriter;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
 import java.util.HashMap;
-import java.util.List;
 import java.util.Map;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;

http://git-wip-us.apache.org/repos/asf/marmotta/blob/ab9df242/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java
b/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java
index acdb561..3345183 100644
--- a/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java
+++ b/platform/marmotta-sparql/src/main/java/org/apache/marmotta/platform/sparql/services/sparqlio/sparqlhtml/SPARQLBooleanHTMLWriter.java
@@ -20,9 +20,8 @@ import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
-import java.nio.charset.Charset;
-import java.util.ArrayList;
 import java.util.Collection;
+import java.util.Collections;
 import java.util.List;
 
 import javax.xml.transform.Source;
@@ -162,7 +161,7 @@ public class SPARQLBooleanHTMLWriter implements BooleanQueryResultWriter
     @Override
     public Collection<RioSetting<?>> getSupportedSettings()
     {
-        return new ArrayList<RioSetting<?>>();
+        return Collections.emptySet();
     }
     
     @Override


Mime
View raw message