[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/util ThreadPool.java,1.3,1.4
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-07-12 09:38:29
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21588/src/java/net/sf/asterisk/util Modified Files: ThreadPool.java Log Message: Added "this" prefix to references to attributes in constructor Index: ThreadPool.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/util/ThreadPool.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- ThreadPool.java 31 Mar 2005 22:29:52 -0000 1.3 +++ ThreadPool.java 12 Jul 2005 09:38:19 -0000 1.4 @@ -46,17 +46,17 @@ public class ThreadPool jobs = new LinkedList(); running = true; - group = new PoolThreadGroup(name); + group = new PoolThreadGroup(this.name); // create and start the threads - for (int i = 0; i < numThreads; i++) + for (int i = 0; i < this.numThreads; i++) { TaskThread thread; - thread = new TaskThread(group, name + "-TaskThread-" + i); + thread = new TaskThread(group, this.name + "-TaskThread-" + i); thread.start(); } - logger.debug("ThreadPool created with " + numThreads + " threads."); + logger.debug("ThreadPool created with " + this.numThreads + " threads."); } /** |