You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2007/10/15 14:47:28 UTC

svn commit: r584775 - /jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java

Author: sebb
Date: Mon Oct 15 05:47:24 2007
New Revision: 584775

URL: http://svn.apache.org/viewvc?rev=584775&view=rev
Log:
Make immutable

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java

Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java?rev=584775&r1=584774&r2=584775&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java (original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/engine/event/LoopIterationEvent.java Mon Oct 15 05:47:24 2007
@@ -25,9 +25,9 @@
  * source of the event.
  */
 public class LoopIterationEvent {
-	int iteration;
+	private final int iteration;
 
-	TestElement source;
+	private final TestElement source;
 
 	public LoopIterationEvent(TestElement source, int iter) {
 		iteration = iter;
@@ -52,13 +52,4 @@
 		return source;
 	}
 
-	/**
-	 * Sets the iteration.
-	 * 
-	 * @param iteration
-	 *            The iteration to set
-	 */
-	public void setIteration(int iteration) {
-		this.iteration = iteration;
-	}
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org