You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by ss...@apache.org on 2014/01/13 12:31:39 UTC
git commit: cleanups
Updated Branches:
refs/heads/develop ae682e957 -> d0688b3f3
cleanups
Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/d0688b3f
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/d0688b3f
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/d0688b3f
Branch: refs/heads/develop
Commit: d0688b3f31e3ef230cc7efd7ef8044c31e389b6b
Parents: ae682e9
Author: Sebastian Schaffert <ss...@apache.org>
Authored: Mon Jan 13 12:31:35 2014 +0100
Committer: Sebastian Schaffert <ss...@apache.org>
Committed: Mon Jan 13 12:31:35 2014 +0100
----------------------------------------------------------------------
.../ldclient/services/ldclient/LDClient.java | 30 --------------------
1 file changed, 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/marmotta/blob/d0688b3f/libraries/ldclient/ldclient-core/src/main/java/org/apache/marmotta/ldclient/services/ldclient/LDClient.java
----------------------------------------------------------------------
diff --git a/libraries/ldclient/ldclient-core/src/main/java/org/apache/marmotta/ldclient/services/ldclient/LDClient.java b/libraries/ldclient/ldclient-core/src/main/java/org/apache/marmotta/ldclient/services/ldclient/LDClient.java
index 717873d..55de798 100644
--- a/libraries/ldclient/ldclient-core/src/main/java/org/apache/marmotta/ldclient/services/ldclient/LDClient.java
+++ b/libraries/ldclient/ldclient-core/src/main/java/org/apache/marmotta/ldclient/services/ldclient/LDClient.java
@@ -178,36 +178,6 @@ public final class LDClient implements LDClientService {
throw new UnsupportedOperationException("protocol not supportted");
}
- /*
- and here what must be the actual implementation
- try {
- retrievalSemaphore.acquire();
- if(!config.isExcludedUri(resource)) {
-
- Endpoint endpoint = getEndpoint(resource);
-
- if(endpoint != null) {
- DataProvider provider = getDataProvider(endpoint);
- if(provider != null) {
- return provider.ping(resource, this, endpoint);
- } else {
- log.error("no service provider for type {}",endpoint.getType());
- }
- } else {
- // TODO: the fallback should at least be a Linked Data handler, so maybe we should merge the ldclient-provider-rdf?
- // TODO: determine service provider from connection handshaking / MIME type
- throw new UnsupportedOperationException("not implemented: determine service provider from connection handshaking / MIME type");
- }
- } else {
- log.error("cannot retrieve a local resource; linked data caching only allowed for remote resources");
- }
- } catch (InterruptedException e) {
- log.warn("retrieval of resource was interruped: {}",resource);
- } finally {
- retrievalSemaphore.release();
- }
- return false;
- */
}