import compbio.metadata.PresetManager;
import compbio.metadata.RunnerConfig;
-public class Jws2Instance
+public class Jws2Instance implements AutoCloseable
{
public String hosturl;
}
@Override
- protected void finalize() throws Throwable
+ public void close()
{
if (service != null)
{
// ignore
}
}
- super.finalize();
+ // super.finalize();
}
public ParamDatastoreI getParamStore()
try
{
paramStore = new JabaParamStore(this,
- (Desktop.getInstance() != null ? Desktop.getUserParameterStore()
+ (Desktop.instance != null ? Desktop.getUserParameterStore()
: null));
} catch (Exception ex)
{