Repository: jena Updated Branches: refs/heads/master cc038809f -> 7de95193d
Clean up. Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/7de95193 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/7de95193 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/7de95193 Branch: refs/heads/master Commit: 7de95193dcb9059ee2a77b0e2a0a4b6c70bf53a7 Parents: cc03880 Author: Andy Seaborne <[email protected]> Authored: Fri Apr 28 20:56:55 2017 +0100 Committer: Andy Seaborne <[email protected]> Committed: Fri Apr 28 20:56:55 2017 +0100 ---------------------------------------------------------------------- .../apache/jena/rdfconnection/RDFConnectionRemote.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/7de95193/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java ---------------------------------------------------------------------- diff --git a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java index f9c69e4..d0efcd7 100644 --- a/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java +++ b/jena-rdfconnection/src/main/java/org/apache/jena/rdfconnection/RDFConnectionRemote.java @@ -117,10 +117,6 @@ public class RDFConnectionRemote implements RDFConnection { this.httpContext = httpContext; } - - - // Needs HttpContext - @Override public QueryExecution query(Query query) { checkQuery(); @@ -341,7 +337,6 @@ public class RDFConnectionRemote implements RDFConnection { }); } - private void checkQuery() { checkOpen(); if ( svcQuery == null ) @@ -425,12 +420,8 @@ public class RDFConnectionRemote implements RDFConnection { throw ex; } - /** Engine for the transaction lifecycle. - * MR+SW - */ - + /** Engine for the transaction lifecycle. MR+SW */ static class TxnLifecycle implements Transactional { - // MR+SW policy. private ReentrantLock lock = new ReentrantLock(); private ThreadLocal<ReadWrite> mode = ThreadLocal.withInitial(()->null); @Override @@ -488,6 +479,5 @@ public class RDFConnectionRemote implements RDFConnection { @Override public void end() { inner.end(); } - }
