diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2007-03-05 23:19:43 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2007-03-05 23:19:43 +0000 |
commit | 3b6d0c6c0124df49618bf16225ea8f984f831c78 (patch) | |
tree | 5b8215bcefd6ce15d678efca96665fab025e8a75 /gnu/javax | |
parent | 5e7d7af8305ec32c022fd21d117638b3fa569d32 (diff) | |
download | classpath-3b6d0c6c0124df49618bf16225ea8f984f831c78.tar.gz |
2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Translator.java:
(translate(String)): Use a Boolean array to
comply with the new typing.
* javax/management/openmbean/ArrayType.java:
Added generic types and updated copyright headers.
* javax/management/openmbean/CompositeData.java:
Likewise.
* javax/management/openmbean/CompositeDataSupport.java:
Likewise.
* javax/management/openmbean/CompositeType.java:
Likewise.
* javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenType.java:
Updated copyright header.
* javax/management/openmbean/SimpleType.java:
Added generic types and updated copyright headers.
* javax/management/openmbean/TabularData.java:
Likewise.
* javax/management/openmbean/TabularDataSupport.java:
Likewise.
* javax/management/openmbean/TabularType.java:
Likewise.
Diffstat (limited to 'gnu/javax')
-rw-r--r-- | gnu/javax/management/Translator.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/javax/management/Translator.java b/gnu/javax/management/Translator.java index 5ed3d6511..e9940cf21 100644 --- a/gnu/javax/management/Translator.java +++ b/gnu/javax/management/Translator.java @@ -308,7 +308,7 @@ public final class Translator "Translated parameter", SimpleType.BOOLEAN, null, - new Object[] { + new Boolean[] { Boolean.TRUE, Boolean.FALSE }); @@ -417,8 +417,7 @@ public final class Translator return new OpenMBeanParameterInfoSupport("TransParam", "Translated parameter", SimpleType.STRING, - null, - (Object[]) names); + null, names); } try { |