summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--javax/management/openmbean/OpenMBeanParameterInfoSupport.java12
2 files changed, 11 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index fa5d80a68..5f401f4ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
+ Call parameter 'defaultValue' not 'defValue'.
+
+2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
+ * javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
New file.
2006-08-01 Roman Kennke <kennke@aicas.com>
diff --git a/javax/management/openmbean/OpenMBeanParameterInfoSupport.java b/javax/management/openmbean/OpenMBeanParameterInfoSupport.java
index 1a563bcfa..b938a3759 100644
--- a/javax/management/openmbean/OpenMBeanParameterInfoSupport.java
+++ b/javax/management/openmbean/OpenMBeanParameterInfoSupport.java
@@ -138,21 +138,21 @@ public class OpenMBeanParameterInfoSupport
* @param name the name of the parameter.
* @param desc a description of the parameter.
* @param type the open type of the parameter.
- * @param defValue the default value of the parameter.
+ * @param defaultValue the default value of the parameter.
* @throws IllegalArgumentException if the name, description or
* open type are <code>null</code>
* or the name or description are
* the empty string.
- * @throws OpenDataException if <code>defValue<code> is non-null
+ * @throws OpenDataException if <code>defaultValue<code> is non-null
* and is either not a value of the given
* open type or the open type is an instance
* of {@link ArrayType} or {@link TabularType}.
*/
public OpenMBeanParameterInfoSupport(String name, String desc, OpenType type,
- Object defValue)
+ Object defaultValue)
throws OpenDataException
{
- this(name, desc, type, defValue, null);
+ this(name, desc, type, defaultValue, null);
}
/**
@@ -252,7 +252,7 @@ public class OpenMBeanParameterInfoSupport
* @param name the name of the parameter.
* @param desc a description of the parameter.
* @param type the open type of the parameter.
- * @param defValue the default value of the parameter, or <code>null</code>.
+ * @param defaultValue the default value of the parameter, or <code>null</code>.
* @param legalValues the legal values of the parameter. May be
* <code>null</code> or an empty array.
* @throws IllegalArgumentException if the name, description or
@@ -262,7 +262,7 @@ public class OpenMBeanParameterInfoSupport
* @throws OpenDataException if any condition in the list above is broken.
*/
public OpenMBeanParameterInfoSupport(String name, String desc, OpenType type,
- Object defValue, Object[] legalValues)
+ Object defaultValue, Object[] legalValues)
throws OpenDataException
{
super(name, type == null ? null : type.getClassName(), desc);