sebb 2003/10/19 15:33:57
Modified: src/core/org/apache/jmeter/threads ThreadGroup.java
JMeterThread.java
Log:
Redundant fields;final add static; Javadoc tags
Revision Changes Path
1.19 +6 -6
jakarta-jmeter/src/core/org/apache/jmeter/threads/ThreadGroup.java
Index: ThreadGroup.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/threads/ThreadGroup.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ThreadGroup.java 8 Oct 2003 16:20:13 -0000 1.18
+++ ThreadGroup.java 19 Oct 2003 22:33:57 -0000 1.19
@@ -104,8 +104,8 @@
public final static String ON_SAMPLE_ERROR_STOPTHREAD = "stopthread";
public final static String ON_SAMPLE_ERROR_STOPTEST = "stoptest";
- private final int DEFAULT_NUM_THREADS = 1;
- private final int DEFAULT_RAMP_UP = 0;
+ private final static int DEFAULT_NUM_THREADS = 1;
+ private final static int DEFAULT_RAMP_UP = 0;
private SampleQueue queue = null;
private LinkedList listeners = new LinkedList();
private LinkedList remoteListeners = new LinkedList();
@@ -257,7 +257,7 @@
*/
public int getDefaultNumThreads()
{
- return this.DEFAULT_NUM_THREADS;
+ return DEFAULT_NUM_THREADS;
}
/**
@@ -267,7 +267,7 @@
*/
public int getDefaultRampUp()
{
- return this.DEFAULT_RAMP_UP;
+ return DEFAULT_RAMP_UP;
}
/**
1.37 +10 -10
jakarta-jmeter/src/core/org/apache/jmeter/threads/JMeterThread.java
Index: JMeterThread.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/threads/JMeterThread.java,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- JMeterThread.java 5 Oct 2003 22:21:23 -0000 1.36
+++ JMeterThread.java 19 Oct 2003 22:33:57 -0000 1.37
@@ -82,8 +82,8 @@
* The JMeter interface to the sampling process, allowing JMeter to see the
* timing, add listeners for sampling events and to stop the sampling process.
*
- * @author $Author$
- * @version $Revision$
+ * @author
+ * @version $Revision$ Last updated: $Date$
*/
public class JMeterThread implements Runnable, java.io.Serializable
{
@@ -141,7 +141,7 @@
/**
* Checks whether the JMeterThread is Scheduled.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public boolean isScheduled()
{
@@ -150,7 +150,7 @@
/**
* Enable the scheduler for this JMeterThread.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public void setScheduled(boolean sche)
{
@@ -162,7 +162,7 @@
* Set the StartTime for this Thread.
*
* @param StartTime the StartTime value.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public void setStartTime(long stime)
{
@@ -173,7 +173,7 @@
* Get the start time value.
*
* @return the start time value.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public long getStartTime()
{
@@ -184,7 +184,7 @@
* Set the EndTime for this Thread.
*
* @param EndTime the EndTime value.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public void setEndTime(long etime)
{
@@ -195,7 +195,7 @@
* Get the end time value.
*
* @return the end time value.
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public long getEndTime()
{
@@ -206,7 +206,7 @@
/**
* Check the scheduled time is completed.
*
- * @author T.Elanjchezhiyan([EMAIL PROTECTED])
+ * author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public void stopScheduler()
{
@@ -220,7 +220,7 @@
/**
* Start the scheduler with the specified time
*
- * aAuthor T.Elanjchezhiyan([EMAIL PROTECTED])
+ * Author T.Elanjchezhiyan([EMAIL PROTECTED])
*/
public void startScheduler()
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]