avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/builder ConfigurationBuilder.java
Date Sun, 07 Jul 2002 23:25:30 GMT
mcconnell    2002/07/07 16:25:30

  Modified:    assembly/src/java/org/apache/excalibur/meta/builder
                        ConfigurationBuilder.java
  Log:
  null test added
  
  Revision  Changes    Path
  1.3       +4 -1      jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/builder/ConfigurationBuilder.java
  
  Index: ConfigurationBuilder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/assembly/src/java/org/apache/excalibur/meta/builder/ConfigurationBuilder.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ConfigurationBuilder.java	7 Jul 2002 04:28:31 -0000	1.2
  +++ ConfigurationBuilder.java	7 Jul 2002 23:25:30 -0000	1.3
  @@ -91,6 +91,9 @@
       public static Configuration build( final InputSource input )
           throws SAXException, ParserConfigurationException, IOException
       {
  +        if( input == null ) 
  +          throw new NullPointerException("null input source");
  +
           final XMLReader reader = createXMLReader();
           final SAXConfigurationHandler handler = new SAXConfigurationHandler();
           setupXMLReader( reader, handler );
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message