Choice.java, [...]: Fixed documentation.
authorMichael Koch <konqueror@gmx.de>
Thu, 7 Nov 2002 13:01:34 +0000 (13:01 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Thu, 7 Nov 2002 13:01:34 +0000 (13:01 +0000)
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

libjava/ChangeLog
libjava/java/awt/Choice.java
libjava/java/awt/Container.java
libjava/java/awt/GridBagLayout.java
libjava/java/awt/peer/ContainerPeer.java

index 5ebd6f8423b6db52fe71c5adb46c5dd4c10874ae..a37e5bda4fa572b47ef23138dcf37dbf190de78e 100644 (file)
@@ -1,3 +1,12 @@
+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:
index ab04c21cda5fe8fd0c0b61749d131ddbeefdeb5e..81a2a31c932f446d81b35697d3fbd1c59b4a8666 100644 (file)
@@ -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)
index c5c7c24560609e238fcf2711dabbbbabd744f401..d71a4bf3684042d060dd062938b2e699ef19681e 100644 (file)
@@ -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)
   {
index e93d6b1828cb03bc27a65b2f5f2eeb270e2942a4..91b5abd3282ac924e3dfb4682db189254b9dbf59 100644 (file)
@@ -40,7 +40,7 @@ package java.awt;
 import java.io.Serializable;
 
 /**
- * Stub implementeation.
+ * Stub implementation.
  */
 public class GridBagLayout
   implements Serializable, LayoutManager2
index 929dfea14a942d75a5a7a308c486ecd019d1df33..23a8746a7b136d09d6bba2168c948de9b6566bdd 100644 (file)
@@ -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