diff options
author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-11 08:44:18 +0000 |
---|---|---|
committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-11 08:44:18 +0000 |
commit | 7847ffef1df8ef78585dae0d197f5b22299088b9 (patch) | |
tree | 9985637df11d280f0424d82147c249fdfec10a20 /libjava/gnu | |
parent | 84a512737ffea9ebac10955b2ad4f7bae03181a7 (diff) | |
download | gcc-7847ffef1df8ef78585dae0d197f5b22299088b9.tar.gz |
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().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79313 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/java/awt/peer/ClasspathFontPeer.java | 4 | ||||
-rw-r--r-- | libjava/gnu/java/awt/peer/gtk/GtkArgList.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libjava/gnu/java/awt/peer/ClasspathFontPeer.java b/libjava/gnu/java/awt/peer/ClasspathFontPeer.java index 4f323f7cc8e..287c271ba2f 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 c7770472e7e..28cea93db4a 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) |