avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl DefaultClassLoaderModel.java
Date Tue, 16 Dec 2003 01:34:55 GMT
mcconnell    2003/12/15 17:34:55

  Modified:    merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl
                        DefaultClassLoaderModel.java
  Log:
  Add check for null manifest.
  
  Revision  Changes    Path
  1.4       +5 -2      avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultClassLoaderModel.java
  
  Index: DefaultClassLoaderModel.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultClassLoaderModel.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultClassLoaderModel.java	3 Dec 2003 19:04:53 -0000	1.3
  +++ DefaultClassLoaderModel.java	16 Dec 2003 01:34:55 -0000	1.4
  @@ -615,7 +615,10 @@
                       final JarURLConnection connection =
                               (JarURLConnection) url.openConnection();
                       final Manifest manifest = connection.getManifest();
  -                    manifests.add( manifest );
  +                    if( null != manifest )
  +                    {
  +                        manifests.add( manifest );
  +                    }
                   } 
                   catch( final IOException ioe )
                   {
  
  
  

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


Mime
View raw message