jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1185143 - /incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java
Date Mon, 17 Oct 2011 13:01:37 GMT
Author: andy
Date: Mon Oct 17 13:01:37 2011
New Revision: 1185143

URL: http://svn.apache.org/viewvc?rev=1185143&view=rev
Log:
Interaction of DSG close and release.

Modified:
    incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java

Modified: incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java?rev=1185143&r1=1185142&r2=1185143&view=diff
==============================================================================
--- incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java
(original)
+++ incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/sys/CachingTDBMaker.java
Mon Oct 17 13:01:37 2011
@@ -79,16 +79,16 @@ public final class CachingTDBMaker imple
     @Override
     public void releaseLocation(Location location)
     {
+        // The dataset may already be closed.
+        
         if ( location == null /*|| location.isMem()*/ )
             return ;
         
         String absPath = location.getDirectoryPath() ;
         DatasetGraphTDB dsg = cache.get(absPath) ;
-        
         if ( dsg == null )
             return ;
         log.debug("Remove from dataset cache: "+absPath) ;
-        dsg.sync();
         cache.remove(absPath) ;
     }
 



Mime
View raw message