diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 7e4f4c15846..c5ab5204c8b 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,18 @@ +2004-04-20 Michael Koch + + * java/awt/AWTPermission.java, + java/awt/Component.java, + java/awt/ComponentOrientation.java,, + java/awt/Dialog.java, + java/awt/FontMetrics.java, + java/awt/Graphics.java, + java/awt/datatransfer/DataFlavor.java, + java/beans/Introspector.java, + java/beans/PropertyEditor.java, + java/beans/PropertyEditorManager.java, + java/beans/beancontext/BeanContextServiceProvider.java: + Fixed HTML tags in javadocs all over. + 2004-04-20 Mark Wielaard * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when diff --git a/libjava/java/awt/AWTPermission.java b/libjava/java/awt/AWTPermission.java index 993c60d50d4..b5ba63d58d0 100644 --- a/libjava/java/awt/AWTPermission.java +++ b/libjava/java/awt/AWTPermission.java @@ -79,7 +79,7 @@ import java.security.BasicPermission; * * fullScreenExclusive * enter full-screen exclusive mode - * malicious code could masquerade as a trusted program + * malicious code could masquerade as a trusted program * * * @author Tom Tromey diff --git a/libjava/java/awt/Component.java b/libjava/java/awt/Component.java index bfd4e080f78..d52818af683 100644 --- a/libjava/java/awt/Component.java +++ b/libjava/java/awt/Component.java @@ -105,7 +105,7 @@ import javax.accessibility.AccessibleStateSet; * in inner classes, rather than using this object itself as the listener, if * external objects do not need to save the state of this object. * - *

+ * 
  * import java.awt.*;
  * import java.awt.event.*;
  * import java.io.Serializable;
@@ -127,6 +127,7 @@ import javax.accessibility.AccessibleStateSet;
  *     aButton.addActionListener(new MyActionListener());
  *   }
  * }
+ * 
* *

Status: Incomplete. The event dispatch mechanism is implemented. All * other methods defined in the J2SE 1.3 API javadoc exist, but are mostly diff --git a/libjava/java/awt/ComponentOrientation.java b/libjava/java/awt/ComponentOrientation.java index 8d3a40c8599..02cf5967ff2 100644 --- a/libjava/java/awt/ComponentOrientation.java +++ b/libjava/java/awt/ComponentOrientation.java @@ -171,13 +171,15 @@ public final class ComponentOrientation implements Serializable } /** - * Gets an orientation from a resource bundle. This tries the following:

    + * Gets an orientation from a resource bundle. This tries the following: + * + *
      *
    • Use the key "Orientation" to find an instance of ComponentOrientation * in the bundle.
    • *
    • Get the locale of the resource bundle, and get the orientation of * that locale.
    • - *
    • Give up and get the orientation of the default locale.
    • - *
        + *
      1. Give up and get the orientation of the default locale.
      2. + *
    * * @param bdl the bundle to use * @return the orientation diff --git a/libjava/java/awt/Dialog.java b/libjava/java/awt/Dialog.java index 5516ff906d0..6bfb80c8563 100644 --- a/libjava/java/awt/Dialog.java +++ b/libjava/java/awt/Dialog.java @@ -123,8 +123,8 @@ Dialog(Frame parent) * parent and modality, that is resizable and which has no title. * * @param parent The parent frame of this dialog box. - * @param modal if this dialog box is modal, false - * otherwise. + * @param modal true if this dialog box is modal, + * false otherwise. * * @exception IllegalArgumentException If the owner's GraphicsConfiguration * is not from a screen device, or if owner is null. This exception is always @@ -164,8 +164,8 @@ Dialog(Frame parent, String title) * * @param parent The parent frame of this dialog box. * @param title The title string for this dialog box. - * @param modal if this dialog box is modal, false - * otherwise. + * @param modal true if this dialog box is modal, + * false otherwise. * * @exception IllegalArgumentException If owner is null or * GraphicsEnvironment.isHeadless() returns true. @@ -183,8 +183,8 @@ Dialog(Frame parent, String title, boolean modal) * * @param parent The parent frame of this dialog box. * @param title The title string for this dialog box. - * @param modal if this dialog box is modal, false - * otherwise. + * @param modal true if this dialog box is modal, + * false otherwise. * @param gc The GraphicsConfiguration object to use. * * @exception IllegalArgumentException If owner is null, the diff --git a/libjava/java/awt/FontMetrics.java b/libjava/java/awt/FontMetrics.java index a7f76e03ae7..6a1a1c09ce1 100644 --- a/libjava/java/awt/FontMetrics.java +++ b/libjava/java/awt/FontMetrics.java @@ -47,12 +47,12 @@ package java.awt; * least the following methods: *

    *

      - *
    • getAscent - *
    • getDescent - *
    • getLeading() - *
    • getMaxAdvance() - *
    • charWidth(char) - *
    • charsWidth(char[], int, int) + *
    • getAscent()
    • + *
    • getDescent()
    • + *
    • getLeading()
    • + *
    • getMaxAdvance()
    • + *
    • charWidth(char)
    • + *
    • charsWidth(char[], int, int)
    • *
    * * @author Aaron M. Renn (arenn@urbanophile.com) diff --git a/libjava/java/awt/Graphics.java b/libjava/java/awt/Graphics.java index 0d551b2081f..d2207ead1c3 100644 --- a/libjava/java/awt/Graphics.java +++ b/libjava/java/awt/Graphics.java @@ -1,5 +1,5 @@ /* Graphics.java -- Abstract Java drawing class - Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. diff --git a/libjava/java/awt/datatransfer/DataFlavor.java b/libjava/java/awt/datatransfer/DataFlavor.java index d911bab7146..3ec21911929 100644 --- a/libjava/java/awt/datatransfer/DataFlavor.java +++ b/libjava/java/awt/datatransfer/DataFlavor.java @@ -270,7 +270,7 @@ DataFlavor(Class representationClass, String humanPresentableName) /** * Initializes a new instance of DataFlavor with the * specified MIME type and description. If the MIME type has a - * "class=" parameter then the representation class will + * "class=<rep class>" parameter then the representation class will * be the class name specified. Otherwise the class defaults to * java.io.InputStream. If the human readable name * is not specified (null) then the human readable name @@ -319,7 +319,7 @@ getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) /** * Initializes a new instance of DataFlavor with the * specified MIME type and description. If the MIME type has a - * "class=" parameter then the representation class will + * "class=<rep class>" parameter then the representation class will * be the class name specified. Otherwise the class defaults to * java.io.InputStream. If the human readable name * is not specified (null) then the human readable name @@ -709,10 +709,10 @@ equals(DataFlavor flavor) * are met: *

    *

      - *
    • The object is not null. - *
    • The object is an instance of DataFlavor. + *
    • The object is not null.
    • + *
    • The object is an instance of DataFlavor.
    • *
    • The object's MIME type and representation class are equal to - * this object's. + * this object's.
    • *
    * * @param obj The Object to test against. diff --git a/libjava/java/beans/Introspector.java b/libjava/java/beans/Introspector.java index 078f98eb37c..b3f67c521ba 100644 --- a/libjava/java/beans/Introspector.java +++ b/libjava/java/beans/Introspector.java @@ -65,7 +65,7 @@ import gnu.java.lang.ClassHelper; * When you call getBeanInfo(class c), the Introspector * first searches for BeanInfo class to see if you * provided any explicit information. It searches for a - * class named BeanInfo in different + * class named <bean class name>BeanInfo in different * packages, first searching the bean class's package * and then moving on to search the beanInfoSearchPath.

    * @@ -113,14 +113,14 @@ import gnu.java.lang.ClassHelper; * type <type>. There may also be a * public <type>[] getXXX() and a * public void setXXX(<type>) - * method as well. + * method as well. *

  1. If there is a * public void setXXX(int,<type>) * method, then it is a write-only indexed property of * type <type>. There may also be a * public <type>[] getXXX() and a * public void setXXX(<type>) - * method as well.
  2. + * method as well. *
  3. If there is a * public <type> getXXX() method, * then XXX is a read-only property of type diff --git a/libjava/java/beans/PropertyEditor.java b/libjava/java/beans/PropertyEditor.java index 18b1a890e24..5cc3f6ab05f 100644 --- a/libjava/java/beans/PropertyEditor.java +++ b/libjava/java/beans/PropertyEditor.java @@ -77,7 +77,7 @@ package java.beans; ** have isPaintable() return true and implement the paintValue() method. ** This method does not determine in any way how the value is edited; ** merely how it is displayed.
  4. - ** Let the caller of the PropertyEditor give the user a text input. Do + **
  5. Let the caller of the PropertyEditor give the user a text input. Do ** this by returning a non-null String from getAsText(). If you support ** text input, you *must* support setAsText().
  6. **
  7. Give the caller a set of possible values, such as "true"/"false", that diff --git a/libjava/java/beans/PropertyEditorManager.java b/libjava/java/beans/PropertyEditorManager.java index aa0e1776dea..85c9ba5d8dc 100644 --- a/libjava/java/beans/PropertyEditorManager.java +++ b/libjava/java/beans/PropertyEditorManager.java @@ -60,19 +60,20 @@ import java.awt.Font; * already registered; if it is, that property editor is * used. Next it takes the type's classname and appends * "Editor" to it, and searches first in the class's - * package and then in the property editor search path.

    + * package and then in the property editor search path. * - * Default property editors are provided for:

    - *

      - *
    1. boolean, byte, short, int, long, float, and double
    2. - *
    3. java.lang.String
    4. - *
    5. java.awt.Color
    6. - *
    7. java.awt.Font
    8. - *
        + *

        Default property editors are provided for:

        + * + *
          + *
        1. boolean, byte, short, int, long, float, and double
        2. + *
        3. java.lang.String
        4. + *
        5. java.awt.Color
        6. + *
        7. java.awt.Font
        8. + *
        * - * Spec Suggestion: Perhaps an editor for + *

        Spec Suggestion: Perhaps an editor for * Filename or something like it should be provided. As well - * as char. + * as char.

        * * @author John Keiser * @since 1.1 diff --git a/libjava/java/beans/beancontext/BeanContextServiceProvider.java b/libjava/java/beans/beancontext/BeanContextServiceProvider.java index de9c7de8f6e..cc2c935b382 100644 --- a/libjava/java/beans/beancontext/BeanContextServiceProvider.java +++ b/libjava/java/beans/beancontext/BeanContextServiceProvider.java @@ -62,14 +62,12 @@ import java.util.Iterator; public interface BeanContextServiceProvider { /** * Get a service. - * Called from BeanContextServices.getService(). - *

        + * Called from BeanContextServices.getService(). * - * If the requested service class is not available, or if this + *

        If the requested service class is not available, or if this * BeanContextServiceProvider chooses not honor the * request for some reason, then this method will return - * null. - *

        + * null.

        * * This method may throw unchecked exceptions, so watch out. *