marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sschaff...@apache.org
Subject git commit: cleanups
Date Mon, 13 Jan 2014 11:31:39 GMT
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 <sschaffert@apache.org>
Authored: Mon Jan 13 12:31:35 2014 +0100
Committer: Sebastian Schaffert <sschaffert@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;
-        */
     }
 
 


Mime
View raw message