This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java.awt


Hello List,


I've commited the attached little patch.


Michael
-- 
Homepage: http://www.worldforge.org/
GPG-key: http://konqueror.dyndns.org/~mkoch/michael.gpg
diff -b -p -u -r1.1510 -r1.1511
--- ChangeLog	7 Nov 2002 08:45:14 -0000	1.1510
+++ ChangeLog	7 Nov 2002 13:01:33 -0000	1.1511
@@ -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 -b -p -u -r1.7 -r1.8
--- java/awt/Choice.java	9 Aug 2002 04:26:13 -0000	1.7
+++ java/awt/Choice.java	7 Nov 2002 13:01:34 -0000	1.8
@@ -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 -b -p -u -r1.15 -r1.16
--- java/awt/Container.java	9 Aug 2002 04:26:13 -0000	1.15
+++ java/awt/Container.java	7 Nov 2002 13:01:34 -0000	1.16
@@ -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 -b -p -u -r1.2 -r1.3
--- java/awt/GridBagLayout.java	31 Oct 2002 18:50:38 -0000	1.2
+++ java/awt/GridBagLayout.java	7 Nov 2002 13:01:34 -0000	1.3
@@ -40,7 +40,7 @@ package java.awt;
 import java.io.Serializable;
 
 /**
- * Stub implementeation.
+ * Stub implementation.
  */
 public class GridBagLayout
   implements Serializable, LayoutManager2
diff -b -p -u -r1.7 -r1.8
--- java/awt/peer/ContainerPeer.java	22 Jan 2002 22:58:09 -0000	1.7
+++ java/awt/peer/ContainerPeer.java	7 Nov 2002 13:01:34 -0000	1.8
@@ -35,18 +35,15 @@ this exception to your version of the li
 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 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]