mirror of https://github.com/apache/activemq.git
remove deps on 1.6 constructor, no point making 1.6 a requirement for this little feature
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@946964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2a383690c
commit
4386e118a1
|
@ -196,7 +196,9 @@ public class AsyncDataManager {
|
|||
try {
|
||||
this.scheduler.start();
|
||||
} catch (Exception e) {
|
||||
throw new IOException(e);
|
||||
IOException ioe = new IOException("scheduler start: " + e);
|
||||
ioe.initCause(e);
|
||||
throw ioe;
|
||||
}
|
||||
this.scheduler.executePeriodically(cleanupTask, DEFAULT_CLEANUP_INTERVAL);
|
||||
}
|
||||
|
@ -337,7 +339,9 @@ public class AsyncDataManager {
|
|||
try {
|
||||
this.scheduler.stop();
|
||||
} catch (Exception e) {
|
||||
throw new IOException(e);
|
||||
IOException ioe = new IOException("scheduler stop: " + e);
|
||||
ioe.initCause(e);
|
||||
throw ioe;
|
||||
}
|
||||
accessorPool.close();
|
||||
storeState(false);
|
||||
|
|
Loading…
Reference in New Issue