Skip to content
Snippets Groups Projects
Commit d5244c83 authored by felmer's avatar felmer
Browse files

SSDM-2421: Declaring inner class ImageUtil.ReaderAndFileHandler as private....

SSDM-2421: Declaring inner class ImageUtil.ReaderAndFileHandler as private. Fixing bug in ImagingDataSetRegistrationTransaction.close().

SVN: 34640
parent 7b6f3cb9
No related branches found
No related tags found
No related merge requests found
......@@ -475,7 +475,7 @@ public class ImageUtil
}
static class ReaderAndFileHandler
private static class ReaderAndFileHandler
{
private IImageReader imageReader;
......@@ -514,11 +514,6 @@ public class ImageUtil
imageReader.close();
}
@Override
protected void finalize() throws Throwable
{
}
void setImageReader(IImageReader imageReader)
{
this.imageReader = imageReader;
......
......@@ -127,6 +127,7 @@ public class ImagingDataSetRegistrationTransaction extends DataSetRegistrationTr
{
ImageUtil.closeSession(Thread.currentThread().getName());
ImageUtil.setThreadLocalSessionId(null);
super.close();
}
public JythonPlateDatasetFactory getFactory()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment