You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/08/16 10:21:59 UTC
svn commit: r1373748 -
/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java
Author: andy
Date: Thu Aug 16 08:21:59 2012
New Revision: 1373748
URL: http://svn.apache.org/viewvc?rev=1373748&view=rev
Log:
Move startrRead inside try-finally.
Modified:
jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java
Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java?rev=1373748&r1=1373747&r2=1373748&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/nodetable/NodeTupleTableConcrete.java Thu Aug 16 08:21:59 2012
@@ -152,8 +152,8 @@ public class NodeTupleTableConcrete impl
public Iterator<Tuple<NodeId>> find(NodeId... ids)
{
Tuple<NodeId> tuple = Tuple.create(ids) ;
- startRead() ;
try {
+ startRead() ;
return find(tuple) ; // **public call
} finally { finishRead() ; }
}