git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3210 Improvements to eclipse detection. New src tree and SwingJS updated from...
[jalview.git]
/
src
/
jalview
/
io
/
vamsas
/
DatastoreRegistry.java
diff --git
a/src/jalview/io/vamsas/DatastoreRegistry.java
b/src/jalview/io/vamsas/DatastoreRegistry.java
index
b53de08
..
ff7a764
100644
(file)
--- a/
src/jalview/io/vamsas/DatastoreRegistry.java
+++ b/
src/jalview/io/vamsas/DatastoreRegistry.java
@@
-24,7
+24,7
@@
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Iterator;
import java.util.Map;
-public class DatastoreRegistry implements AutoCloseable
+public class DatastoreRegistry
{
protected static org.apache.log4j.Logger log = org.apache.log4j.Logger
.getLogger(DatastoreRegistry.class);
{
protected static org.apache.log4j.Logger log = org.apache.log4j.Logger
.getLogger(DatastoreRegistry.class);
@@
-153,7
+153,7
@@
public class DatastoreRegistry implements AutoCloseable
}
@Override
}
@Override
- public void close()
+ protected void finalize() throws Throwable
{
if (dsObjReg != null)
{
{
if (dsObjReg != null)
{
@@
-172,6
+172,6
@@
public class DatastoreRegistry implements AutoCloseable
{
dsItemReg.clear();
}
{
dsItemReg.clear();
}
- // super.finalize();
+ super.finalize();
}
}
}
}