summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2002-11-07 13:01:34 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2002-11-07 13:01:34 +0000
commit82396c2a26f207479b3ccfcb2c51852b22013abd (patch)
tree133aed55b1f8a1e0bd58fced7ed30ec4f3f12fc1
parentc2905f7b49c8925ce087542a4c34fc96fc834f64 (diff)
downloadgcc-82396c2a26f207479b3ccfcb2c51852b22013abd.tar.gz
Choice.java, [...]: Fixed documentation.
2002-11-07 Michael Koch <konqueror@gmx.de> * java/awt/Choice.java, java/awt/Container.java, java/awt/GridBagLayout.java: Fixed documentation. * java/awt/peer/ContainerPeer.java: Reindented. From-SVN: r58888
-rw-r--r--libjava/ChangeLog9
-rw-r--r--libjava/java/awt/Choice.java6
-rw-r--r--libjava/java/awt/Container.java6
-rw-r--r--libjava/java/awt/GridBagLayout.java2
-rw-r--r--libjava/java/awt/peer/ContainerPeer.java11
5 files changed, 20 insertions, 14 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 5ebd6f8423b..a37e5bda4fa 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,14 @@
2002-11-07 Michael Koch <konqueror@gmx.de>
+ * java/awt/Choice.java,
+ java/awt/Container.java,
+ java/awt/GridBagLayout.java:
+ Fixed documentation.
+ * java/awt/peer/ContainerPeer.java:
+ Reindented.
+
+2002-11-07 Michael Koch <konqueror@gmx.de>
+
* java/awt/color/ICC_Profile.java:
Added missing constants.
* java/awt/color/ICC_ColorSpace.java
diff --git a/libjava/java/awt/Choice.java b/libjava/java/awt/Choice.java
index ab04c21cda5..81a2a31c932 100644
--- a/libjava/java/awt/Choice.java
+++ b/libjava/java/awt/Choice.java
@@ -215,7 +215,7 @@ insert(String item, int index)
*
* @param item The item to remove.
*
- * @param IllegalArgumentException If the specified item doesn't exist.
+ * @exception IllegalArgumentException If the specified item doesn't exist.
*/
public synchronized void
remove(String item)
@@ -234,7 +234,7 @@ remove(String item)
*
* @param index The index of the item to remove.
*
- * @exception ArrayIndexOutOfBoundsException If the index is not valid.
+ * @exception IndexOutOfBoundsException If the index is not valid.
*/
public synchronized void
remove(int index)
@@ -325,7 +325,7 @@ getSelectedIndex()
*
* @param index The index of the row to make selected.
*
- * @param IllegalArgumentException If the specified index is invalid.
+ * @exception IllegalArgumentException If the specified index is invalid.
*/
public synchronized void
select(int index)
diff --git a/libjava/java/awt/Container.java b/libjava/java/awt/Container.java
index c5c7c245606..d71a4bf3684 100644
--- a/libjava/java/awt/Container.java
+++ b/libjava/java/awt/Container.java
@@ -205,7 +205,7 @@ public class Container extends Component
*
* @return The same component that was added.
*
- * @param throws ArrayIndexOutOfBounds If the specified index is invalid.
+ * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/
public Component add(Component comp, int index)
{
@@ -236,7 +236,7 @@ public class Container extends Component
* @param index The index in the component list to insert this child
* at, or -1 to add at the end of the list.
*
- * @param throws ArrayIndexOutOfBounds If the specified index is invalid.
+ * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/
public void add(Component comp, Object constraints, int index)
{
@@ -256,7 +256,7 @@ public class Container extends Component
* @param index The index in the component list to insert this child
* at, or -1 to add at the end of the list.
*
- * @param throws ArrayIndexOutOfBounds If the specified index is invalid.
+ * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/
protected void addImpl(Component comp, Object constraints, int index)
{
diff --git a/libjava/java/awt/GridBagLayout.java b/libjava/java/awt/GridBagLayout.java
index e93d6b1828c..91b5abd3282 100644
--- a/libjava/java/awt/GridBagLayout.java
+++ b/libjava/java/awt/GridBagLayout.java
@@ -40,7 +40,7 @@ package java.awt;
import java.io.Serializable;
/**
- * Stub implementeation.
+ * Stub implementation.
*/
public class GridBagLayout
implements Serializable, LayoutManager2
diff --git a/libjava/java/awt/peer/ContainerPeer.java b/libjava/java/awt/peer/ContainerPeer.java
index 929dfea14a9..23a8746a7b1 100644
--- a/libjava/java/awt/peer/ContainerPeer.java
+++ b/libjava/java/awt/peer/ContainerPeer.java
@@ -35,18 +35,15 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
-
package java.awt.peer;
import java.awt.Insets;
public interface ContainerPeer extends ComponentPeer
{
-
-public abstract Insets insets();
-public abstract Insets getInsets();
-public abstract void beginValidate();
-public abstract void endValidate();
-
+ public abstract Insets insets();
+ public abstract Insets getInsets();
+ public abstract void beginValidate();
+ public abstract void endValidate();
} // interface ContainerPeer