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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to