classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: API doc fixes in javax.xml.*


From: David Gilbert
Subject: [cp-patches] FYI: API doc fixes in javax.xml.*
Date: Thu, 25 Aug 2005 12:17:07 +0000
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050728)

I committed this patch to fix some minor API problems:

2005-08-25  David Gilbert  <address@hidden>

        * javax/xml/datatype/DatatypeFactory.java: minor API doc fixes,
        * javax/xml/parsers/DocumentBuilder.java: likewise,
        * javax/xml/parsers/SAXParser.java: likewise,
        * javax/xml/transform/Source.java: likewise.

Regards,

Dave
Index: javax/xml/datatype/DatatypeFactory.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/xml/datatype/DatatypeFactory.java,v
retrieving revision 1.3
diff -u -r1.3 DatatypeFactory.java
--- javax/xml/datatype/DatatypeFactory.java     2 Jul 2005 20:32:52 -0000       
1.3
+++ javax/xml/datatype/DatatypeFactory.java     25 Aug 2005 11:12:30 -0000
@@ -91,7 +91,7 @@
 
   /**
    * Returns a new duration.
-   * @param durationInMilliseconds the duration in milliseconds
+   * @param durationInMilliSeconds the duration in milliseconds
    */
   public abstract Duration newDuration(long durationInMilliSeconds);
 
@@ -231,10 +231,6 @@
    * @param isPositive whether the duration is positive
    * @param years the number of years
    * @param months the number of months
-   * @param days the number of days
-   * @param hours the number of hours
-   * @param minutes th number of minutes
-   * @param seconds the number of seconds
    */
   public Duration newDurationYearMonth(boolean isPositive,
                                        BigInteger years,
@@ -254,10 +250,6 @@
    * @param isPositive whether the duration is positive
    * @param years the number of years
    * @param months the number of months
-   * @param days the number of days
-   * @param hours the number of hours
-   * @param minutes th number of minutes
-   * @param seconds the number of seconds
    */
   public Duration newDurationYearMonth(boolean isPositive,
                                        int years,
Index: javax/xml/parsers/DocumentBuilder.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/xml/parsers/DocumentBuilder.java,v
retrieving revision 1.4
diff -u -r1.4 DocumentBuilder.java
--- javax/xml/parsers/DocumentBuilder.java      2 Jul 2005 20:32:52 -0000       
1.4
+++ javax/xml/parsers/DocumentBuilder.java      25 Aug 2005 11:12:30 -0000
@@ -132,7 +132,7 @@
 
   /**
    * Parse the specified input source and return a DOM Document.
-   * @param is the input source
+   * @param source the input source
    * @exception IllegalArgumentException if the input source is null
    */
   public abstract Document parse(InputSource source) 
Index: javax/xml/parsers/SAXParser.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/xml/parsers/SAXParser.java,v
retrieving revision 1.3
diff -u -r1.3 SAXParser.java
--- javax/xml/parsers/SAXParser.java    2 Jul 2005 20:32:52 -0000       1.3
+++ javax/xml/parsers/SAXParser.java    25 Aug 2005 11:12:30 -0000
@@ -254,7 +254,7 @@
   /**
    * Parse the specified input source, reporting SAX2 events to the
    * given handler.
-   * @param f an XML file
+   * @param is an XML file
    * @param dh the SAX2 handler
    * @exception IllegalArgumentException if the input source is null
    */
Index: javax/xml/transform/Source.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/xml/transform/Source.java,v
retrieving revision 1.3
diff -u -r1.3 Source.java
--- javax/xml/transform/Source.java     2 Jul 2005 20:32:52 -0000       1.3
+++ javax/xml/transform/Source.java     25 Aug 2005 11:12:31 -0000
@@ -48,7 +48,7 @@
   /**
    * Sets the XML system ID for this source.
    * This can be used to resolve external entities in the source.
-   * @param systemID the system ID URI
+   * @param systemId the system ID URI
    */
   public void setSystemId(String systemId);
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]