You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/02/17 20:23:49 UTC

svn commit: r378598 - /incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java

Author: agilliland
Date: Fri Feb 17 11:23:48 2006
New Revision: 378598

URL: http://svn.apache.org/viewcvs?rev=378598&view=rev
Log:
fixing null pointer in shutdown() method.


Modified:
    incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java

Modified: incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java?rev=378598&r1=378597&r2=378598&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java (original)
+++ incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java Fri Feb 17 11:23:48 2006
@@ -174,7 +174,7 @@
      */
     public void shutdown() {
         
-        if(this.workers.size() > 0) {
+        if(this.workers != null && this.workers.size() > 0) {
             mLogger.info("stopping all ReferrerQueue worker threads");
             
             // kill all of our threads