simpler solution to NIHVIVO-1708

This commit is contained in:
bjl23 2011-01-15 00:24:15 +00:00
parent c06645ce88
commit d3e54a5841

View file

@ -21,8 +21,6 @@ import edu.cornell.mannlib.vitro.webapp.dao.VClassDao;
public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
private DatasetWrapperFactory dwf;
/**
* For use when any database connection associated with the Dataset
* is managed externally
@ -32,7 +30,6 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
public WebappDaoFactorySDB(OntModelSelector ontModelSelector, Dataset dataset) {
super(ontModelSelector);
this.dwf = new StaticDatasetFactory(dataset);
super.dwf = new StaticDatasetFactory(dataset);
}
/**
@ -48,7 +45,6 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
String[] preferredLanguages) {
super(ontModelSelector, defaultNamespace, nonuserNamespaces, preferredLanguages);
this.dwf = new StaticDatasetFactory(dataset);
super.dwf = new StaticDatasetFactory(dataset);
}
/**
@ -65,7 +61,6 @@ public class WebappDaoFactorySDB extends WebappDaoFactoryJena {
String[] preferredLanguages) {
super(ontModelSelector, defaultNamespace, nonuserNamespaces, preferredLanguages);
this.dwf = new ReconnectingDatasetFactory(bds, storeDesc);
super.dwf = new ReconnectingDatasetFactory(bds, storeDesc);
}
@Override