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 DefaultContainmentModel.java
Date Mon, 12 Jan 2004 07:14:31 GMT
mcconnell    2004/01/11 23:14:31

  Modified:    merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl
                        Tag: Ver_3_4 DefaultContainmentModel.java
  Log:
  Correct assignability test.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.13.2.17 +2 -2      avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultContainmentModel.java
  
  Index: DefaultContainmentModel.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultContainmentModel.java,v
  retrieving revision 1.13.2.16
  retrieving revision 1.13.2.17
  diff -u -r1.13.2.16 -r1.13.2.17
  --- DefaultContainmentModel.java	12 Jan 2004 05:41:05 -0000	1.13.2.16
  +++ DefaultContainmentModel.java	12 Jan 2004 07:14:31 -0000	1.13.2.17
  @@ -777,7 +777,7 @@
           for( int i=0; i<models.length; i++ )
           {
               ServiceModel model = models[i];
  -            if( model.getServiceClass().isAssignableFrom( clazz ) )
  +            if( clazz.isAssignableFrom( model.getServiceClass() ) )
               {
                   return model;
               }
  
  
  

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


Mime
View raw message