Commits

Anonymous committed 6890512

Issue number: QUARTZ-13
Fixed off by one issue with count of available threads

git-svn-id: http://svn.opensymphony.com/svn/quartz/trunk@59569f7d36a-ea1c-0410-88ea-9fd03e4c9665

Comments (0)

Files changed (1)

src/java/org/quartz/simpl/SimpleThreadPool.java

      */
 
     private int count = -1;
-    private int availCount = -1;
+    private int availCount = 0;
 
     private int prio = Thread.NORM_PRIORITY;