Author: sebb
Date: Tue Nov 13 13:02:17 2012
New Revision: 1408710
URL: http://svn.apache.org/viewvc?rev=1408710&view=rev
Log:
Don't expose integer index conversion methods, as they have special case
processing
Modified:
jmeter/trunk/src/components/org/apache/jmeter/control/ForeachController.java
Modified:
jmeter/trunk/src/components/org/apache/jmeter/control/ForeachController.java
URL:
http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/control/ForeachController.java?rev=1408710&r1=1408709&r2=1408710&view=diff
==============================================================================
---
jmeter/trunk/src/components/org/apache/jmeter/control/ForeachController.java
(original)
+++
jmeter/trunk/src/components/org/apache/jmeter/control/ForeachController.java
Tue Nov 13 13:02:17 2012
@@ -63,7 +63,8 @@ public class ForeachController extends G
/**
* @return start index of loop
*/
- public int getStartIndex() {
+ private int getStartIndex() {
+ // Although the default is not the same as for the string value, it is
only used internally
return getPropertyAsInt(START_INDEX, 0);
}
@@ -85,7 +86,8 @@ public class ForeachController extends G
/**
* @return end index of loop
*/
- public int getEndIndex() {
+ private int getEndIndex() {
+ // Although the default is not the same as for the string value, it is
only used internally
return getPropertyAsInt(END_INDEX, Integer.MAX_VALUE);
}