You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2002/07/07 09:17:32 UTC

cvs commit: jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml AbstractXMLConsumer.java

donaldp     2002/07/07 00:17:32

  Modified:    xmlbundle/src/java/org/apache/avalon/excalibur/xml
                        AbstractXMLConsumer.java
  Log:
  Add in some finals.
  
  Revision  Changes    Path
  1.2       +29 -15    jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml/AbstractXMLConsumer.java
  
  Index: AbstractXMLConsumer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml/AbstractXMLConsumer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractXMLConsumer.java	22 Apr 2002 10:06:04 -0000	1.1
  +++ AbstractXMLConsumer.java	7 Jul 2002 07:17:32 -0000	1.2
  @@ -24,14 +24,13 @@
       extends AbstractLogEnabled
       implements XMLConsumer
   {
  -
       /**
        * Receive an object for locating the origin of SAX document events.
        *
        * @param locator An object that can return the location of any SAX
        *                document event.
        */
  -    public void setDocumentLocator( Locator locator )
  +    public void setDocumentLocator( final Locator locator )
       {
       }
   
  @@ -57,7 +56,8 @@
        * @param prefix The Namespace prefix being declared.
        * @param uri The Namespace URI the prefix is mapped to.
        */
  -    public void startPrefixMapping( String prefix, String uri )
  +    public void startPrefixMapping( final String prefix,
  +                                    final String uri )
           throws SAXException
       {
       }
  @@ -67,7 +67,7 @@
        *
        * @param prefix The prefix that was being mapping.
        */
  -    public void endPrefixMapping( String prefix )
  +    public void endPrefixMapping( final String prefix )
           throws SAXException
       {
       }
  @@ -85,7 +85,10 @@
        * @param a The attributes attached to the element. If there are no
        *          attributes, it shall be an empty Attributes object.
        */
  -    public void startElement( String uri, String loc, String raw, Attributes a )
  +    public void startElement( final String uri,
  +                              final String loc,
  +                              final String raw,
  +                              final Attributes a )
           throws SAXException
       {
       }
  @@ -101,7 +104,9 @@
        * @param raw The raw XML 1.0 name (with prefix), or the empty string if
        *            raw names are not available.
        */
  -    public void endElement( String uri, String loc, String raw )
  +    public void endElement( final String uri,
  +                            final String loc,
  +                            final String raw )
           throws SAXException
       {
       }
  @@ -113,7 +118,9 @@
        * @param start The start position in the array.
        * @param len The number of characters to read from the array.
        */
  -    public void characters( char ch[], int start, int len )
  +    public void characters( final char[] ch,
  +                            final int start,
  +                            final int len )
           throws SAXException
       {
       }
  @@ -125,7 +132,9 @@
        * @param start The start position in the array.
        * @param len The number of characters to read from the array.
        */
  -    public void ignorableWhitespace( char ch[], int start, int len )
  +    public void ignorableWhitespace( final char[] ch,
  +                                     final int start,
  +                                     final int len )
           throws SAXException
       {
       }
  @@ -137,7 +146,8 @@
        * @param data The processing instruction data, or null if none was
        *             supplied.
        */
  -    public void processingInstruction( String target, String data )
  +    public void processingInstruction( final String target,
  +                                       final String data )
           throws SAXException
       {
       }
  @@ -148,7 +158,7 @@
        * @param name The name of the skipped entity.  If it is a  parameter
        *             entity, the name will begin with '%'.
        */
  -    public void skippedEntity( String name )
  +    public void skippedEntity( final String name )
           throws SAXException
       {
       }
  @@ -162,7 +172,9 @@
        * @param systemId The declared system identifier for the external DTD
        *                 subset, or null if none was declared.
        */
  -    public void startDTD( String name, String publicId, String systemId )
  +    public void startDTD( final String name,
  +                          final String publicId,
  +                          final String systemId )
           throws SAXException
       {
       }
  @@ -181,7 +193,7 @@
        * @param name The name of the entity. If it is a parameter entity, the
        *             name will begin with '%'.
        */
  -    public void startEntity( String name )
  +    public void startEntity( final String name )
           throws SAXException
       {
       }
  @@ -191,7 +203,7 @@
        *
        * @param name The name of the entity that is ending.
        */
  -    public void endEntity( String name )
  +    public void endEntity( final String name )
           throws SAXException
       {
       }
  @@ -219,7 +231,9 @@
        * @param start The starting position in the array.
        * @param len The number of characters to use from the array.
        */
  -    public void comment( char ch[], int start, int len )
  +    public void comment( final char[] ch,
  +                         final int start,
  +                         final int len )
           throws SAXException
       {
       }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>