Return-Path: Delivered-To: apmail-avalon-cvs-archive@avalon.apache.org Received: (qmail 12722 invoked by uid 500); 11 Feb 2003 06:47:32 -0000 Mailing-List: contact cvs-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list cvs@avalon.apache.org Received: (qmail 12711 invoked from network); 11 Feb 2003 06:47:32 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 11 Feb 2003 06:47:32 -0000 Received: (qmail 36665 invoked by uid 1438); 11 Feb 2003 06:47:31 -0000 Date: 11 Feb 2003 06:47:31 -0000 Message-ID: <20030211064731.36664.qmail@icarus.apache.org> From: mcconnell@apache.org To: avalon-cvs@apache.org Subject: cvs commit: avalon/src/java/org/apache/avalon/framework/configuration NamespacedSAXConfigurationHandler.java DefaultConfigurationSerializer.java AbstractConfiguration.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mcconnell 2003/02/10 22:47:31 Modified: src/java/org/apache/avalon/framework/configuration NamespacedSAXConfigurationHandler.java DefaultConfigurationSerializer.java AbstractConfiguration.java Log: Updated for checkstyle compliance. Revision Changes Path 1.16 +6 -6 avalon/src/java/org/apache/avalon/framework/configuration/NamespacedSAXConfigurationHandler.java Index: NamespacedSAXConfigurationHandler.java =================================================================== RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/configuration/NamespacedSAXConfigurationHandler.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- NamespacedSAXConfigurationHandler.java 10 Feb 2003 07:19:16 -0000 1.15 +++ NamespacedSAXConfigurationHandler.java 11 Feb 2003 06:47:30 -0000 1.16 @@ -221,9 +221,9 @@ final String trimmedValue = accumulatedValue.trim(); if( trimmedValue.length() > 0 ) { - throw new SAXException( "Not allowed to define mixed content in the " + - "element " + finishedConfiguration.getName() + " at " + - finishedConfiguration.getLocation() ); + throw new SAXException( "Not allowed to define mixed content in the " + + "element " + finishedConfiguration.getName() + " at " + + finishedConfiguration.getLocation() ); } } @@ -384,9 +384,9 @@ else { return - m_locator.getSystemId() + ":" + - m_locator.getLineNumber() + ":" + - m_locator.getColumnNumber(); + m_locator.getSystemId() + ":" + + m_locator.getLineNumber() + ":" + + m_locator.getColumnNumber(); } } 1.23 +1 -1 avalon/src/java/org/apache/avalon/framework/configuration/DefaultConfigurationSerializer.java Index: DefaultConfigurationSerializer.java =================================================================== RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/configuration/DefaultConfigurationSerializer.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- DefaultConfigurationSerializer.java 10 Feb 2003 07:19:16 -0000 1.22 +++ DefaultConfigurationSerializer.java 11 Feb 2003 06:47:30 -0000 1.23 @@ -102,7 +102,7 @@ /** * Create a ContentHandler for an OutputStream - * @param out an OutputStream value + * @param result the result * @return contenthandler that goes to specified OutputStream */ protected ContentHandler createContentHandler( final Result result ) 1.26 +25 -25 avalon/src/java/org/apache/avalon/framework/configuration/AbstractConfiguration.java Index: AbstractConfiguration.java =================================================================== RCS file: /home/cvs/avalon/src/java/org/apache/avalon/framework/configuration/AbstractConfiguration.java,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- AbstractConfiguration.java 10 Feb 2003 07:19:16 -0000 1.25 +++ AbstractConfiguration.java 11 Feb 2003 06:47:30 -0000 1.26 @@ -109,9 +109,9 @@ catch( final Exception nfe ) { final String message = - "Cannot parse the value \"" + value + - "\" as an integer in the configuration element \"" + - getName() + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as an integer in the configuration element \"" + + getName() + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -172,9 +172,9 @@ catch( final Exception nfe ) { final String message = - "Cannot parse the value \"" + value + - "\" as a long in the configuration element \"" + - getName() + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a long in the configuration element \"" + + getName() + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -217,9 +217,9 @@ catch( final Exception nfe ) { final String message = - "Cannot parse the value \"" + value + - "\" as a float in the configuration element \"" + - getName() + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a float in the configuration element \"" + + getName() + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -264,9 +264,9 @@ else { final String message = - "Cannot parse the value \"" + value + - "\" as a boolean in the configuration element \"" + - getName() + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a boolean in the configuration element \"" + + getName() + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -344,9 +344,9 @@ catch( final Exception nfe ) { final String message = - "Cannot parse the value \"" + value + - "\" as an integer in the attribute \"" + - name + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as an integer in the attribute \"" + + name + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -412,9 +412,9 @@ catch( final Exception nfe ) { final String message = - "Cannot parse the value \"" + value + - "\" as a long in the attribute \"" + - name + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a long in the attribute \"" + + name + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -461,9 +461,9 @@ catch( final Exception e ) { final String message = - "Cannot parse the value \"" + value + - "\" as a float in the attribute \"" + - name + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a float in the attribute \"" + + name + "\" at " + getLocation(); throw new ConfigurationException( message ); } } @@ -512,9 +512,9 @@ else { final String message = - "Cannot parse the value \"" + value + - "\" as a boolean in the attribute \"" + - name + "\" at " + getLocation(); + "Cannot parse the value \"" + value + + "\" as a boolean in the attribute \"" + + name + "\" at " + getLocation(); throw new ConfigurationException( message ); } } --------------------------------------------------------------------- To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org For additional commands, e-mail: cvs-help@avalon.apache.org