roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agillil...@apache.org
Subject svn commit: r378598 - /incubator/roller/trunk/src/org/roller/business/referrers/ReferrerQueueManagerImpl.java
Date Fri, 17 Feb 2006 19:23:49 GMT
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



Mime
View raw message