avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools Service.java
Date Thu, 10 Apr 2003 21:23:46 GMT
bloritsch    2003/04/10 14:23:46

  Modified:    fortress/src/tools/org/apache/avalon/fortress/tools
                        Service.java
  Log:
  hopefully avoid a spurious class cast exception
  
  Revision  Changes    Path
  1.2       +2 -2      avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools/Service.java
  
  Index: Service.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/tools/org/apache/avalon/fortress/tools/Service.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Service.java	10 Apr 2003 21:14:07 -0000	1.1
  +++ Service.java	10 Apr 2003 21:23:46 -0000	1.2
  @@ -58,9 +58,9 @@
   import java.io.FileWriter;
   import java.io.IOException;
   import java.io.PrintWriter;
  +import java.util.HashSet;
   import java.util.Iterator;
   import java.util.Set;
  -import java.util.TreeSet;
   
   /**
    * Encapsulate the Service information, and encapsulate all the
  @@ -88,7 +88,7 @@
           
           m_loader = Thread.currentThread().getContextClassLoader();
           m_type = m_loader.loadClass(type);
  -        m_components = new TreeSet();
  +        m_components = new HashSet();
           m_isRole = isRole;
           m_areRolesCollected = false;
       }
  
  
  

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


Mime
View raw message