From 1f2b471546f747ae0de24c7919cf51a8b3d9b4c1 Mon Sep 17 00:00:00 2001 From: Michael Koch <konqueror@gmx.de> Date: Thu, 11 Mar 2004 08:44:18 +0000 Subject: [PATCH] ClasspathFontPeer.java: Fixed javadoc to be correct xhtml. 2004-03-11 Michael Koch <konqueror@gmx.de> * gnu/java/awt/peer/ClasspathFontPeer.java: Fixed javadoc to be correct xhtml. * gnu/java/awt/peer/gtk/GtkArgList.java (add): Use Boolean.valueOf() instead of new Boolean(). From-SVN: r79313 --- libjava/ChangeLog | 7 +++++++ libjava/gnu/java/awt/peer/ClasspathFontPeer.java | 4 ++-- libjava/gnu/java/awt/peer/gtk/GtkArgList.java | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index d3669d084bef..848decda980c 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,10 @@ +2004-03-11 Michael Koch <konqueror@gmx.de> + + * gnu/java/awt/peer/ClasspathFontPeer.java: + Fixed javadoc to be correct xhtml. + * gnu/java/awt/peer/gtk/GtkArgList.java + (add): Use Boolean.valueOf() instead of new Boolean(). + 2004-03-09 Michael Koch <konqueror@gmx.de> * java/lang/Thread.java diff --git a/libjava/gnu/java/awt/peer/ClasspathFontPeer.java b/libjava/gnu/java/awt/peer/ClasspathFontPeer.java index 4f323f7cc8e8..287c271ba2f4 100644 --- a/libjava/gnu/java/awt/peer/ClasspathFontPeer.java +++ b/libjava/gnu/java/awt/peer/ClasspathFontPeer.java @@ -56,12 +56,12 @@ import gnu.java.awt.*; * <p><b>State kept by the peer:</b> a peer is generated for each Font * object in the default implementation. If you wish to share peers between * fonts, you will need to subclass both ClasspathFontPeer and - * {@link ClasspathToolKit}. + * {@link ClasspathToolKit}.</p> * * <p><b>Thread Safety:</b> Methods of this interface may be called * from arbitrary threads at any time. Implementations of the * <code>ClasspathFontPeer</code> interface are required to perform - * the necessary synchronization. + * the necessary synchronization.</p> * * @see java.awt.Font#getPeer * @see java.awt.Toolkit#getFontPeer diff --git a/libjava/gnu/java/awt/peer/gtk/GtkArgList.java b/libjava/gnu/java/awt/peer/gtk/GtkArgList.java index c7770472e7e6..28cea93db4ac 100644 --- a/libjava/gnu/java/awt/peer/gtk/GtkArgList.java +++ b/libjava/gnu/java/awt/peer/gtk/GtkArgList.java @@ -48,7 +48,7 @@ public class GtkArgList extends Vector void add (String name, boolean value) { - addElement (new GtkArg (name, new Boolean (value))); + addElement (new GtkArg (name, Boolean.valueOf(value))); } void add (String name, int value) -- GitLab