cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/source/impl SimpleJdbcSourceDescriptor.java
Date Mon, 22 Dec 2003 13:41:36 GMT
joerg       2003/12/22 05:41:36

  Modified:    src/blocks/repository/java/org/apache/cocoon/components/source/impl
                        SimpleJdbcSourceDescriptor.java
  Log:
  removed unused sourceresolver - please review if it was only in preliminary state
  
  Revision  Changes    Path
  1.6       +1 -3      cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/source/impl/SimpleJdbcSourceDescriptor.java
  
  Index: SimpleJdbcSourceDescriptor.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/repository/java/org/apache/cocoon/components/source/impl/SimpleJdbcSourceDescriptor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SimpleJdbcSourceDescriptor.java	21 Nov 2003 17:19:17 -0000	1.5
  +++ SimpleJdbcSourceDescriptor.java	22 Dec 2003 13:41:36 -0000	1.6
  @@ -74,7 +74,6 @@
   import org.apache.cocoon.components.source.helpers.SourceProperty;
   import org.apache.excalibur.source.Source;
   import org.apache.excalibur.source.SourceException;
  -import org.apache.excalibur.source.SourceResolver;
   import org.apache.excalibur.source.SourceValidity;
   
   /**
  @@ -102,6 +101,7 @@
    * </p>
    * 
    * @author <a href="mailto:unico@apache.org">Unico Hommes</a>
  + * @version CVS $ID$
    */
   public class SimpleJdbcSourceDescriptor
   extends AbstractConfigurableSourceDescriptor
  @@ -121,7 +121,6 @@
           "DELETE FROM sourceprops WHERE source=? AND namespace=? AND name=?;";
       
       private ServiceManager m_manager;
  -    private SourceResolver m_resolver;
       private EventAware m_cache;
       private DataSourceComponent m_datasource;
       
  @@ -136,7 +135,6 @@
       
       public void service(ServiceManager manager) throws ServiceException {
           m_manager = manager;
  -        m_resolver = (SourceResolver) manager.lookup(SourceResolver.ROLE);
           if (manager.hasService(Cache.ROLE + "/EventAware")) {
               m_cache = (EventAware) manager.lookup(Cache.ROLE + "/EventAware");
           } else {
  
  
  

Mime
View raw message