Patch: javadoc updates
Tom Tromey
tromey@redhat.com
Tue Aug 26 23:13:00 GMT 2003
I'm checking this in on the trunk.
This is some javadoc fixes from Classpath.
Tom
Index: ChangeLog
from Mark Wielaard <mark@klomp.org>
* java/security/acl/Acl.java: Fix broken p tag.
* java/text/DateFormatSymbols.java: Correctly open and close li tags.
* javax/swing/border/LineBorder.java: Close img tag alt attributes.
* javax/swing/plaf/TreeUI.java: Likewise.
* javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
* java/util/Properties.java: Use the word umlaut, not ä in api
documentation.
* java/util/PropertyResourceBundle.java: Likewise and add closing code
tag.
Index: java/security/acl/Acl.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/security/acl/Acl.java,v
retrieving revision 1.2
diff -u -r1.2 Acl.java
--- java/security/acl/Acl.java 22 Jan 2002 22:40:32 -0000 1.2
+++ java/security/acl/Acl.java 26 Aug 2003 22:40:45 -0000
@@ -52,7 +52,7 @@
* <code>Principal</code> belongs have an ACL entry, the permissions for
* the individual <code>Principal</code> take precedence over the
* permissions of the <code>Group</code> if there is a conflict.
- * <p
+ * <p>
* Additionally, the ACL interface extends the <code>Owner</code> interface
* and so an ACL has owners. Actions which modify the ACL are restricted
* to owners.
Index: java/text/DateFormatSymbols.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/text/DateFormatSymbols.java,v
retrieving revision 1.12
diff -u -r1.12 DateFormatSymbols.java
--- java/text/DateFormatSymbols.java 22 Jan 2002 22:40:37 -0000 1.12
+++ java/text/DateFormatSymbols.java 26 Aug 2003 22:40:46 -0000
@@ -1,5 +1,5 @@
/* ChoiceFormat.java -- Format over a range of numbers
- Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -156,24 +156,24 @@
* locale):
* <p>
* <ul>
- * <li>0 - era (G)
- * <li>1 - year (y)
- * <li>2 - month (M)
- * <li 3 - day of month (d)
- * <li>4 - hour out of 12, from 1-12 (h)
- * <li>5 - hour out of 24, from 0-23 (H)
- * <li>6 - minute (m)
- * <li>7 - second (s)
- * <li>8 - millisecond (S)
- * <li>9 - date of week (E)
- * <li>10 - date of year (D)
- * <li>11 - day of week in month, eg. "4th Thur in Nov" (F)
- * <li>12 - week in year (w)
- * <li>13 - week in month (W)
- * <li>14 - am/pm (a)
- * <li>15 - hour out of 24, from 1-24 (k)
- * <li>16 - hour out of 12, from 0-11 (K)
- * <li>17 - time zone (z)
+ * <li>0 - era (G)</li>
+ * <li>1 - year (y)</li>
+ * <li>2 - month (M)</li>
+ * <li>3 - day of month (d)</li>
+ * <li>4 - hour out of 12, from 1-12 (h)</li>
+ * <li>5 - hour out of 24, from 0-23 (H)</li>
+ * <li>6 - minute (m)</li>
+ * <li>7 - second (s)</li>
+ * <li>8 - millisecond (S)</li>
+ * <li>9 - date of week (E)</li>
+ * <li>10 - date of year (D)</li>
+ * <li>11 - day of week in month, eg. "4th Thur in Nov" (F)</li>
+ * <li>12 - week in year (w)</li>
+ * <li>13 - week in month (W)</li>
+ * <li>14 - am/pm (a)</li>
+ * <li>15 - hour out of 24, from 1-24 (k)</li>
+ * <li>16 - hour out of 12, from 0-11 (K)</li>
+ * <li>17 - time zone (z)</li>
* </ul>
*
* @return The format patter characters
@@ -295,24 +295,24 @@
* locale):
* <p>
* <ul>
- * <li>0 - era (G)
- * <li>1 - year (y)
- * <li>2 - month (M)
- * <li 3 - day of month (d)
- * <li>4 - hour out of 12, from 1-12 (h)
- * <li>5 - hour out of 24, from 0-23 (H)
- * <li>6 - minute (m)
- * <li>7 - second (s)
- * <li>8 - millisecond (S)
- * <li>9 - date of week (E)
- * <li>10 - date of year (D)
- * <li>11 - day of week in month, eg. "4th Thur in Nov" (F)
- * <li>12 - week in year (w)
- * <li>13 - week in month (W)
- * <li>14 - am/pm (a)
- * <li>15 - hour out of 24, from 1-24 (k)
- * <li>16 - hour out of 12, from 0-11 (K)
- * <li>17 - time zone (z)
+ * <li>0 - era (G)</li>
+ * <li>1 - year (y)</li>
+ * <li>2 - month (M)</li>
+ * <li>3 - day of month (d)</li>
+ * <li>4 - hour out of 12, from 1-12 (h)</li>
+ * <li>5 - hour out of 24, from 0-23 (H)</li>
+ * <li>6 - minute (m)</li>
+ * <li>7 - second (s)</li>
+ * <li>8 - millisecond (S)</li>
+ * <li>9 - date of week (E)</li>
+ * <li>10 - date of year (D)</li>
+ * <li>11 - day of week in month, eg. "4th Thur in Nov" (F)</li>
+ * <li>12 - week in year (w)</li>
+ * <li>13 - week in month (W)</li>
+ * <li>14 - am/pm (a)</li>
+ * <li>15 - hour out of 24, from 1-24 (k)</li>
+ * <li>16 - hour out of 12, from 0-11 (K)</li>
+ * <li>17 - time zone (z)</li>
* </ul>
*
* @param localPatternChars The new format patter characters
Index: java/util/Properties.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/Properties.java,v
retrieving revision 1.17
diff -u -r1.17 Properties.java
--- java/util/Properties.java 2 Mar 2003 22:36:20 -0000 1.17
+++ java/util/Properties.java 26 Aug 2003 22:40:46 -0000
@@ -56,7 +56,7 @@
* here. This extends the example given in ListResourceBundle.
* Create a file MyResource_de.properties with the following contents
* and put it in the CLASSPATH. (The character
- * <code>\</code><code>u00e4</code> is the german ä)
+ * <code>\</code><code>u00e4</code> is the german umlaut)
*
*
<pre>s1=3
Index: java/util/PropertyResourceBundle.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/PropertyResourceBundle.java,v
retrieving revision 1.9
diff -u -r1.9 PropertyResourceBundle.java
--- java/util/PropertyResourceBundle.java 17 Jun 2003 14:05:17 -0000 1.9
+++ java/util/PropertyResourceBundle.java 26 Aug 2003 22:40:46 -0000
@@ -61,8 +61,8 @@
* An example of a properties file for the german language is given
* here. This extends the example given in ListResourceBundle.
* Create a file MyResource_de.properties with the following contents
- * and put it in the CLASSPATH. (The char <code>\u00e4<char> is the
- * german ä)
+ * and put it in the CLASSPATH. (The char <code>\u00e4</code> is the
+ * german umlaut)
*
*
<pre>
Index: javax/swing/border/LineBorder.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/border/LineBorder.java,v
retrieving revision 1.6
diff -u -r1.6 LineBorder.java
--- javax/swing/border/LineBorder.java 1 Aug 2003 20:10:21 -0000 1.6
+++ javax/swing/border/LineBorder.java 26 Aug 2003 22:40:46 -0000
@@ -129,7 +129,7 @@
* it has rounded corners.
*
* <p><img src="doc-files/LineBorder-1.png" width="500" height="200"
- * alt="[An illustration of two LineBorders] />
+ * alt="[An illustration of two LineBorders]" />
*
* <p>Note that the enlarged view in the right-hand picture shows
* that the implementation draws one more pixel than specified,
Index: javax/swing/plaf/TreeUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/TreeUI.java,v
retrieving revision 1.4
diff -u -r1.4 TreeUI.java
--- javax/swing/plaf/TreeUI.java 1 Aug 2003 20:10:21 -0000 1.4
+++ javax/swing/plaf/TreeUI.java 26 Aug 2003 22:40:46 -0000
@@ -126,7 +126,7 @@
* Finds the path that is closest to the specified position.
*
* <p><img src="doc-files/TreeUI-1.png" width="300" height="250"
- * alt="[A screen shot of a JTree] />
+ * alt="[A screen shot of a JTree]" />
*
* <p>As shown by the above illustration, the bounds of the
* closest path do not necessarily need to contain the passed
Index: javax/swing/plaf/basic/BasicTreeUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicTreeUI.java,v
retrieving revision 1.4
diff -u -r1.4 BasicTreeUI.java
--- javax/swing/plaf/basic/BasicTreeUI.java 1 Aug 2003 20:10:22 -0000 1.4
+++ javax/swing/plaf/basic/BasicTreeUI.java 26 Aug 2003 22:40:46 -0000
@@ -133,7 +133,7 @@
* Finds the path that is closest to the specified position.
*
* <p><img src="../doc-files/TreeUI-1.png" width="300" height="250"
- * alt="[A screen shot of a JTree] />
+ * alt="[A screen shot of a JTree]" />
*
* <p>As shown by the above illustration, the bounds of the
* closest path do not necessarily need to contain the passed
More information about the Java-patches
mailing list