summaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/management/AttributeList.java
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-14 10:15:29 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-14 10:15:29 +0000
commit9e7c3bcdba010a8a46d9a51d221e02222a6efc89 (patch)
treedff0563158f6cfb5a3169eea0cbb70bec200b8f0 /libjava/classpath/javax/management/AttributeList.java
parent7493a7e159c3886ea2effc5f1c5dd52adf1aac64 (diff)
downloadgcc-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.java18
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.");
}
}
-
+
}