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 Tue, 20 Jan 2004 04:50:32 GMT
mcconnell    2004/01/19 20:50:31

  Modified:    merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl
                        DefaultContainmentModel.java
  Log:
  Correct null check.
  
  Revision  Changes    Path
  1.22      +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.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- DefaultContainmentModel.java	19 Jan 2004 21:46:10 -0000	1.21
  +++ DefaultContainmentModel.java	20 Jan 2004 04:50:31 -0000	1.22
  @@ -950,7 +950,7 @@
           synchronized( repository )
           {
               DeploymentModel model = (DeploymentModel) repository.getModel( name );
  -            if( null == name )
  +            if( null == model )
               {
                   final String error = 
                     "No model named [" + name 
  
  
  

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


Mime
View raw message