cziegeler    01/09/06 00:46:36

  Modified:    src/org/apache/cocoon/components/source
                        SourceHandlerImpl.java
  Log:
  Patch against ClassCastException
  Submitted by: Stefan Koehler ([EMAIL PROTECTED])
  
  Revision  Changes    Path
  1.5       +2 -2      
xml-cocoon2/src/org/apache/cocoon/components/source/SourceHandlerImpl.java
  
  Index: SourceHandlerImpl.java
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/source/SourceHandlerImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SourceHandlerImpl.java    2001/08/20 13:55:13     1.4
  +++ SourceHandlerImpl.java    2001/09/06 07:46:36     1.5
  @@ -35,7 +35,7 @@
   
   /**
    * @author <a href="mailto:[EMAIL PROTECTED]";>Carsten Ziegeler</a>
  - * @version $Id: SourceHandlerImpl.java,v 1.4 2001/08/20 13:55:13 dims Exp $
  + * @version $Id: SourceHandlerImpl.java,v 1.5 2001/09/06 07:46:36 cziegeler Exp $
    */
   public final class SourceHandlerImpl
   extends AbstractLoggable
  @@ -109,7 +109,7 @@
           if (this.urlFactory != null) {
               this.manager.release((Component)this.urlFactory);
           }
  -        Iterator iter = this.sourceFactories.keySet().iterator();
  +        Iterator iter = this.sourceFactories.values().iterator();
           SourceFactory current;
           while (iter.hasNext() == true) {
               current = (SourceFactory) iter.next();
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to