You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/07/17 15:41:28 UTC
svn commit: r1362492 -
/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java
Author: jacopoc
Date: Tue Jul 17 13:41:27 2012
New Revision: 1362492
URL: http://svn.apache.org/viewvc?rev=1362492&view=rev
Log:
Trivial cleanup: removed an unnecessary private field.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java?rev=1362492&r1=1362491&r2=1362492&view=diff
==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/job/JobPoller.java Tue Jul 17 13:41:27 2012
@@ -44,7 +44,6 @@ public class JobPoller implements Runnab
public static final int POLL_WAIT = 20000;
public static final long THREAD_TTL = 18000000;
- private Thread thread = null;
private JobManager jm = null;
private ThreadPoolExecutor executor = null;
private String name = null;
@@ -72,7 +71,7 @@ public class JobPoller implements Runnab
if (pollEnabled()) {
// create the poller thread
- thread = new Thread(this, "OFBiz-JobPoller-" + this.name);
+ Thread thread = new Thread(this, "OFBiz-JobPoller-" + this.name);
thread.setDaemon(false);
// start the poller