sebb 2005/07/09 04:57:05
Modified: src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui
LDAPArgument.java
Log:
Fix some variable hiding
Revision Changes Path
1.2 +8 -6
jakarta-jmeter/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.java
Index: LDAPArgument.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgument.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LDAPArgument.java 17 Aug 2004 23:15:37 -0000 1.1
+++ LDAPArgument.java 9 Jul 2005 11:57:05 -0000 1.2
@@ -44,8 +44,10 @@
public class LDAPArgument extends AbstractTestElement implements Serializable
{
+ //TODO should these be public?
+
/** Name used to store the argument's name. */
- public static final String NAME = "Argument.name";
+ public static final String ARG_NAME = "Argument.name";
/** Name used to store the argument's value. */
public static final String VALUE = "Argument.value";
@@ -72,7 +74,7 @@
*/
public LDAPArgument(String name, String value, String opcode)
{
- setProperty(new StringProperty(NAME, name));
+ setProperty(new StringProperty(ARG_NAME, name));
setProperty(new StringProperty(VALUE, value));
setProperty(new StringProperty(OPCODE, opcode));
}
@@ -86,7 +88,7 @@
*/
public LDAPArgument(String name, String value, String opcode, String
metadata)
{
- setProperty(new StringProperty(NAME, name));
+ setProperty(new StringProperty(ARG_NAME, name));
setProperty(new StringProperty(VALUE, value));
setProperty(new StringProperty(OPCODE, opcode));
setProperty(new StringProperty(METADATA, metadata));
@@ -99,7 +101,7 @@
*/
public void setName(String newName)
{
- setProperty(new StringProperty(NAME, newName));
+ setProperty(new StringProperty(ARG_NAME, newName));
}
/**
@@ -109,7 +111,7 @@
*/
public String getName()
{
- return getPropertyAsString(NAME);
+ return getPropertyAsString(ARG_NAME);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]