Browse Source

build

master
daniel 7 years ago
parent
commit
8c06d68025
  1. 2
      fine-quartz/src/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java
  2. 2
      fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/UpdateLockRowSemaphore.java
  3. 6
      fine-quartz/src/com/fr/third/v2/org/quartz/simpl/SimpleThreadPool.java

2
fine-quartz/src/com/fr/third/v2/org/quartz/core/QuartzSchedulerThread.java

@ -181,7 +181,7 @@ public class QuartzSchedulerThread extends Thread {
try { try {
join(); join();
break; break;
} catch (InterruptedException _) { } catch (InterruptedException e) {
interrupted = true; interrupted = true;
} }
} }

2
fine-quartz/src/com/fr/third/v2/org/quartz/impl/jdbcjobstore/UpdateLockRowSemaphore.java

@ -95,7 +95,7 @@ public class UpdateLockRowSemaphore extends DBSemaphore {
} }
try { try {
Thread.sleep(1000L); Thread.sleep(1000L);
} catch (InterruptedException _) { } catch (InterruptedException e1) {
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
} }
} }

6
fine-quartz/src/com/fr/third/v2/org/quartz/simpl/SimpleThreadPool.java

@ -353,7 +353,7 @@ public class SimpleThreadPool implements ThreadPool {
while(handoffPending) { while(handoffPending) {
try { try {
nextRunnableLock.wait(100); nextRunnableLock.wait(100);
} catch(InterruptedException _) { } catch(InterruptedException e) {
interrupted = true; interrupted = true;
} }
} }
@ -369,7 +369,7 @@ public class SimpleThreadPool implements ThreadPool {
// note: with waiting infinite time the // note: with waiting infinite time the
// application may appear to 'hang'. // application may appear to 'hang'.
nextRunnableLock.wait(2000); nextRunnableLock.wait(2000);
} catch (InterruptedException _) { } catch (InterruptedException e) {
interrupted = true; interrupted = true;
} }
} }
@ -380,7 +380,7 @@ public class SimpleThreadPool implements ThreadPool {
try { try {
wt.join(); wt.join();
workerThreads.remove(); workerThreads.remove();
} catch (InterruptedException _) { } catch (InterruptedException e) {
interrupted = true; interrupted = true;
} }
} }

Loading…
Cancel
Save