Improvement #5 升级Quartz 2.x

This commit is contained in:
Calvin
2012-03-12 22:36:29 +08:00
parent 4c030e9a1a
commit c985dd5bcd
18 changed files with 113 additions and 85 deletions
@@ -44,7 +44,7 @@ public class Threads {
pool.shutdownNow(); // Cancel currently executing tasks
// Wait a while for tasks to respond to being cancelled
if (!pool.awaitTermination(shutdownNowTimeout, timeUnit)) {
System.err.println("Pool did not terminate");
System.err.println("Pool did not terminated");
}
}
} catch (InterruptedException ie) {
@@ -62,7 +62,7 @@ public class Threads {
try {
pool.shutdownNow();
if (!pool.awaitTermination(timeout, timeUnit)) {
System.err.println("Pool did not terminate");
System.err.println("Pool did not terminated");
}
} catch (InterruptedException ie) {
Thread.currentThread().interrupt();
@@ -19,7 +19,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springside.modules.log.MockLog4jAppender;
@Ignore("Unstatable on Jenkins")
@Ignore("Unstable on Jenkins")
public class ThreadsTest {
@Test
+1 -1
View File
@@ -408,7 +408,7 @@
<dependency>
<groupId>org.quartz-scheduler</groupId>
<artifactId>quartz</artifactId>
<version>1.8.5</version>
<version>2.1.3</version>
</dependency>
<!-- CACHE begin -->