avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/appliance/impl DefaultAppliance.java
Date Tue, 29 Apr 2003 16:10:59 GMT
mcconnell    2003/04/29 09:10:58

  Modified:    merlin/assembly/src/java/org/apache/avalon/assembly/appliance/impl
                        DefaultAppliance.java
  Log:
  Code cleanup.
  
  Revision  Changes    Path
  1.4       +3 -5      avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/appliance/impl/DefaultAppliance.java
  
  Index: DefaultAppliance.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/assembly/src/java/org/apache/avalon/assembly/appliance/impl/DefaultAppliance.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultAppliance.java	29 Apr 2003 14:57:41 -0000	1.3
  +++ DefaultAppliance.java	29 Apr 2003 16:10:57 -0000	1.4
  @@ -1072,9 +1072,7 @@
        */
       protected boolean validReference( String ref )
       {
  -        ServiceDescriptor service =
  -          m_applianceContext.getProfile().getService( new ReferenceDescriptor( ref )  );
  -        //        getType().getService( new ReferenceDescriptor( ref ) );
  -        return service != null;
  +        final ReferenceDescriptor reference = new ReferenceDescriptor( ref );
  +        return null != m_applianceContext.getProfile().getService( reference );
       }
   }
  
  
  

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


Mime
View raw message