unico       2004/08/05 08:42:33

  Modified:    src/share/org/apache/slide/common
                        NamespaceAccessTokenImpl.java Slide.java
                        Namespace.java NamespaceAccessToken.java
  Log:
  remove unused code
  
  Revision  Changes    Path
  1.28      +9 -8      
jakarta-slide/src/share/org/apache/slide/common/NamespaceAccessTokenImpl.java
  
  Index: NamespaceAccessTokenImpl.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/NamespaceAccessTokenImpl.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- NamespaceAccessTokenImpl.java     28 Jul 2004 09:38:18 -0000      1.27
  +++ NamespaceAccessTokenImpl.java     5 Aug 2004 15:42:32 -0000       1.28
  @@ -26,17 +26,21 @@
   import java.io.IOException;
   import java.io.Reader;
   import java.io.Writer;
  +
   import javax.transaction.HeuristicMixedException;
   import javax.transaction.HeuristicRollbackException;
   import javax.transaction.NotSupportedException;
   import javax.transaction.RollbackException;
   import javax.transaction.SystemException;
  -import javax.transaction.Transaction;
   import javax.transaction.TransactionManager;
   import javax.xml.parsers.SAXParser;
   import javax.xml.parsers.SAXParserFactory;
  +
   import org.apache.slide.content.Content;
   import org.apache.slide.content.ContentImpl;
  +import org.apache.slide.event.EventDispatcher;
  +import org.apache.slide.event.TransactionEvent;
  +import org.apache.slide.event.VetoException;
   import org.apache.slide.lock.Lock;
   import org.apache.slide.lock.LockImpl;
   import org.apache.slide.macro.Macro;
  @@ -54,9 +58,6 @@
   import org.apache.slide.util.conf.ConfigurationException;
   import org.apache.slide.util.conf.Populate;
   import org.apache.slide.util.logger.Logger;
  -import org.apache.slide.event.EventDispatcher;
  -import org.apache.slide.event.TransactionEvent;
  -import org.apache.slide.event.VetoException;
   import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
   
  
  
  
  1.11      +4 -10     jakarta-slide/src/share/org/apache/slide/common/Slide.java
  
  Index: Slide.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Slide.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Slide.java        28 Jul 2004 09:38:12 -0000      1.10
  +++ Slide.java        5 Aug 2004 15:42:32 -0000       1.11
  @@ -54,12 +54,6 @@
       
       
       /**
  -     * Slide domain.
  -     */
  -    private Domain domain = new Domain();
  -    
  -    
  -    /**
        * Status of the Slide domain.
        */
       private int state = STOPPED;
  
  
  
  1.65      +5 -9      jakarta-slide/src/share/org/apache/slide/common/Namespace.java
  
  Index: Namespace.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/common/Namespace.java,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- Namespace.java    28 Jul 2004 09:38:18 -0000      1.64
  +++ Namespace.java    5 Aug 2004 15:42:32 -0000       1.65
  @@ -351,8 +351,6 @@
                   store.setParameters(parameters);
                   stores.put(scope, store);
                   
  -                Object o = null;
  -                
                   // assign NodeStore
                   NodeStore nodeStore =
                       (NodeStore) dereferenceStore (NODE_STORE, childStores);
  @@ -947,9 +945,7 @@
           // Now reading the "child" stores
           
           Hashtable currentStoreChildStores = new Hashtable();
  -        
  -        String key = NODE_STORE;
  -        
  +                
           // Loading node store (if any)
           getChildStore (storeDefinition, NODE_STORE, currentStoreChildStores, 
storeParameters);
           
  
  
  
  1.22      +4 -5      
jakarta-slide/src/share/org/apache/slide/common/NamespaceAccessToken.java
  
  Index: NamespaceAccessToken.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/src/share/org/apache/slide/common/NamespaceAccessToken.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- NamespaceAccessToken.java 28 Jul 2004 09:38:18 -0000      1.21
  +++ NamespaceAccessToken.java 5 Aug 2004 15:42:32 -0000       1.22
  @@ -27,7 +27,6 @@
   import java.io.Reader;
   import java.io.Writer;
   
  -import javax.transaction.Transaction;
   import javax.transaction.TransactionManager;
   import javax.transaction.UserTransaction;
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to