diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-14 10:15:29 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-14 10:15:29 +0000 |
commit | 9e7c3bcdba010a8a46d9a51d221e02222a6efc89 (patch) | |
tree | dff0563158f6cfb5a3169eea0cbb70bec200b8f0 /libjava/classpath/javax/management/AttributeList.java | |
parent | 7493a7e159c3886ea2effc5f1c5dd52adf1aac64 (diff) | |
download | gcc-9e7c3bcdba010a8a46d9a51d221e02222a6efc89.tar.gz |
2011-01-14 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 168776
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@168777 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/javax/management/AttributeList.java')
-rw-r--r-- | libjava/classpath/javax/management/AttributeList.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libjava/classpath/javax/management/AttributeList.java b/libjava/classpath/javax/management/AttributeList.java index 09db9b621ba..3d240b73bad 100644 --- a/libjava/classpath/javax/management/AttributeList.java +++ b/libjava/classpath/javax/management/AttributeList.java @@ -119,7 +119,7 @@ public class AttributeList * the @link{IndexOutOfBoundsException} from the underlying * array list. * </p> - * + * * @param index the index at which to place the new attribute. * @param attribute the new attribute to add. * @throws RuntimeOperationsException if <code>index < 0</code> @@ -130,11 +130,11 @@ public class AttributeList { try { - super.add(index, attribute); + super.add(index, attribute); } catch (IndexOutOfBoundsException e) { - throw new RuntimeOperationsException(e, "Invalid index."); + throw new RuntimeOperationsException(e, "Invalid index."); } } @@ -171,7 +171,7 @@ public class AttributeList * the @link{IndexOutOfBoundsException} from the underlying * array list. * </p> - * + * * @param index the index at which to place the new attribute. * @param list the list of attributes to add. * @return true if the list changed. @@ -183,11 +183,11 @@ public class AttributeList { try { - return super.addAll(index, list); + return super.addAll(index, list); } catch (IndexOutOfBoundsException e) { - throw new RuntimeOperationsException(e, "Invalid index."); + throw new RuntimeOperationsException(e, "Invalid index."); } } @@ -209,12 +209,12 @@ public class AttributeList { try { - super.set(index, attribute); + super.set(index, attribute); } catch (IndexOutOfBoundsException e) { - throw new RuntimeOperationsException(e, "Invalid index."); + throw new RuntimeOperationsException(e, "Invalid index."); } } - + } |