tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/components Browser.java
Date Sun, 30 Mar 2003 17:04:56 GMT
hlship      2003/03/30 09:04:56

  Modified:    framework/src/org/apache/tapestry/request
                        IRequestDecoder.java RequestContext.java
               junit/src/org/apache/tapestry/junit TestMultipart.java
                        TapestrySuite.java
               examples/Vlib/src/org/apache/tapestry/vlib/pages/admin
                        TransferBooksTransfer.java
               examples/Vlib/src/org/apache/tapestry/vlib/pages
                        MyLibrary.java EditProfile.java NewBook.java
               framework/src/org/apache/tapestry/engine
                        DefaultSpecificationSource.java
               examples/Vlib/src/org/apache/tapestry/vlib/components
                        Browser.java
  Log:
  Remove unused imports.
  
  Revision  Changes    Path
  1.2       +0 -2      jakarta-tapestry/framework/src/org/apache/tapestry/request/IRequestDecoder.java
  
  Index: IRequestDecoder.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/request/IRequestDecoder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IRequestDecoder.java	5 Mar 2003 22:59:44 -0000	1.1
  +++ IRequestDecoder.java	30 Mar 2003 17:04:56 -0000	1.2
  @@ -57,8 +57,6 @@
   
   import javax.servlet.http.HttpServletRequest;
   
  -import org.apache.tapestry.request.*;
  -
   /**
    *  Given a {@link javax.servlet.http.HttpServletRequest}, identifies
    *  the correct request properties (server, scheme, URI and port).
  
  
  
  1.5       +1 -5      jakarta-tapestry/framework/src/org/apache/tapestry/request/RequestContext.java
  
  Index: RequestContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/request/RequestContext.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- RequestContext.java	23 Mar 2003 16:12:39 -0000	1.4
  +++ RequestContext.java	30 Mar 2003 17:04:56 -0000	1.5
  @@ -55,10 +55,8 @@
   
   package org.apache.tapestry.request;
   
  -import java.awt.Color;
   import java.io.IOException;
   import java.util.ArrayList;
  -import java.util.BitSet;
   import java.util.Collections;
   import java.util.Date;
   import java.util.Enumeration;
  @@ -68,10 +66,8 @@
   import java.util.Properties;
   import java.util.StringTokenizer;
   
  -import javax.servlet.RequestDispatcher;
   import javax.servlet.ServletConfig;
   import javax.servlet.ServletContext;
  -import javax.servlet.ServletException;
   import javax.servlet.http.Cookie;
   import javax.servlet.http.HttpServletRequest;
   import javax.servlet.http.HttpServletResponse;
  
  
  
  1.3       +1 -5      jakarta-tapestry/junit/src/org/apache/tapestry/junit/TestMultipart.java
  
  Index: TestMultipart.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/src/org/apache/tapestry/junit/TestMultipart.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestMultipart.java	23 Mar 2003 16:12:38 -0000	1.2
  +++ TestMultipart.java	30 Mar 2003 17:04:56 -0000	1.3
  @@ -55,16 +55,12 @@
   
   package org.apache.tapestry.junit;
   
  -import java.io.File;
  -import java.io.FileOutputStream;
   import java.io.OutputStream;
   import java.io.OutputStreamWriter;
  -import java.io.PrintWriter;
   
   import org.apache.commons.fileupload.DefaultFileItem;
   import org.apache.commons.fileupload.FileItem;
   import org.apache.tapestry.ApplicationRuntimeException;
  -import org.apache.tapestry.multipart.DefaultMultipartDecoder;
   import org.apache.tapestry.multipart.UploadPart;
   import org.apache.tapestry.multipart.ValuePart;
   
  
  
  
  1.6       +1 -18     jakarta-tapestry/junit/src/org/apache/tapestry/junit/TapestrySuite.java
  
  Index: TapestrySuite.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/junit/src/org/apache/tapestry/junit/TapestrySuite.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TapestrySuite.java	26 Mar 2003 19:50:40 -0000	1.5
  +++ TapestrySuite.java	30 Mar 2003 17:04:56 -0000	1.6
  @@ -58,24 +58,7 @@
   import junit.framework.Test;
   import junit.framework.TestSuite;
   
  -import org.apache.tapestry.junit.enhance.TestClassFabricator;
  -import org.apache.tapestry.junit.form.TestListEditMap;
   import org.apache.tapestry.junit.mock.MockTestCase;
  -import org.apache.tapestry.junit.parse.TestLocation;
  -import org.apache.tapestry.junit.parse.TestSpecificationParser;
  -import org.apache.tapestry.junit.parse.TestTemplateParser;
  -import org.apache.tapestry.junit.script.TestScript;
  -import org.apache.tapestry.junit.spec.TestApplicationSpecification;
  -import org.apache.tapestry.junit.spec.TestComponentSpecification;
  -import org.apache.tapestry.junit.utils.TestAdaptorRegistry;
  -import org.apache.tapestry.junit.utils.TestDataSqueezer;
  -import org.apache.tapestry.junit.utils.TestEnum;
  -import org.apache.tapestry.junit.utils.TestIdAllocator;
  -import org.apache.tapestry.junit.utils.TestLocalizedNameGenerator;
  -import org.apache.tapestry.junit.utils.TestPool;
  -import org.apache.tapestry.junit.utils.TestPropertyFinder;
  -import org.apache.tapestry.junit.utils.TestRegexpMatcher;
  -import org.apache.tapestry.junit.valid.ValidSuite;
   
   /**
    *  Master suite of Tapestry tests, combining all other test suites.
  
  
  
  1.2       +56 -1     jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/admin/TransferBooksTransfer.java
  
  Index: TransferBooksTransfer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/admin/TransferBooksTransfer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TransferBooksTransfer.java	29 Mar 2003 18:49:13 -0000	1.1
  +++ TransferBooksTransfer.java	30 Mar 2003 17:04:56 -0000	1.2
  @@ -1,3 +1,58 @@
  +/* ====================================================================
  + * The Apache Software License, Version 1.1
  + *
  + * Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  + * reserved.
  + *
  + * Redistribution and use in source and binary forms, with or without
  + * modification, are permitted provided that the following conditions
  + * are met:
  + *
  + * 1. Redistributions of source code must retain the above copyright
  + *    notice, this list of conditions and the following disclaimer.
  + *
  + * 2. Redistributions in binary form must reproduce the above copyright
  + *    notice, this list of conditions and the following disclaimer in
  + *    the documentation and/or other materials provided with the
  + *    distribution.
  + *
  + * 3. The end-user documentation included with the redistribution,
  + *    if any, must include the following acknowledgment:
  + *       "This product includes software developed by the
  + *        Apache Software Foundation (http://apache.org/)."
  + *    Alternately, this acknowledgment may appear in the software itself,
  + *    if and wherever such third-party acknowledgments normally appear.
  + *
  + * 4. The names "Apache" and "Apache Software Foundation", "Tapestry" 
  + *    must not be used to endorse or promote products derived from this
  + *    software without prior written permission. For written
  + *    permission, please contact apache@apache.org.
  + *
  + * 5. Products derived from this software may not be called "Apache" 
  + *    or "Tapestry", nor may "Apache" or "Tapestry" appear in their 
  + *    name, without prior written permission of the Apache Software Foundation.
  + *
  + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + * DISCLAIMED.  IN NO EVENT SHALL THE TAPESTRY CONTRIBUTOR COMMUNITY
  + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + * SUCH DAMAGE.
  + * ====================================================================
  + *
  + * This software consists of voluntary contributions made by many
  + * individuals on behalf of the Apache Software Foundation.  For more
  + * information on the Apache Software Foundation, please see
  + * <http://www.apache.org/>.
  + *
  + */
  +
   package org.apache.tapestry.vlib.pages.admin;
   
   import java.rmi.RemoteException;
  
  
  
  1.5       +1 -2      jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/MyLibrary.java
  
  Index: MyLibrary.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/MyLibrary.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MyLibrary.java	29 Mar 2003 18:49:11 -0000	1.4
  +++ MyLibrary.java	30 Mar 2003 17:04:56 -0000	1.5
  @@ -59,7 +59,6 @@
   
   import javax.ejb.FinderException;
   
  -import org.apache.tapestry.IComponentStrings;
   import org.apache.tapestry.IMarkupWriter;
   import org.apache.tapestry.IRequestCycle;
   import org.apache.tapestry.vlib.IMessageProperty;
  
  
  
  1.4       +1 -2      jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/EditProfile.java
  
  Index: EditProfile.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/EditProfile.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EditProfile.java	29 Mar 2003 18:49:11 -0000	1.3
  +++ EditProfile.java	30 Mar 2003 17:04:56 -0000	1.4
  @@ -62,7 +62,6 @@
   import javax.ejb.FinderException;
   
   import org.apache.tapestry.ApplicationRuntimeException;
  -import org.apache.tapestry.IComponentStrings;
   import org.apache.tapestry.IRequestCycle;
   import org.apache.tapestry.Tapestry;
   import org.apache.tapestry.event.PageEvent;
  
  
  
  1.4       +1 -2      jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/NewBook.java
  
  Index: NewBook.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/pages/NewBook.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- NewBook.java	29 Mar 2003 18:49:11 -0000	1.3
  +++ NewBook.java	30 Mar 2003 17:04:56 -0000	1.4
  @@ -61,7 +61,6 @@
   
   import javax.ejb.CreateException;
   
  -import org.apache.tapestry.IComponentStrings;
   import org.apache.tapestry.IRequestCycle;
   import org.apache.tapestry.Tapestry;
   import org.apache.tapestry.event.PageEvent;
  
  
  
  1.4       +4 -5      jakarta-tapestry/framework/src/org/apache/tapestry/engine/DefaultSpecificationSource.java
  
  Index: DefaultSpecificationSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/framework/src/org/apache/tapestry/engine/DefaultSpecificationSource.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultSpecificationSource.java	23 Mar 2003 01:29:41 -0000	1.3
  +++ DefaultSpecificationSource.java	30 Mar 2003 17:04:56 -0000	1.4
  @@ -63,6 +63,9 @@
   import java.util.Map;
   import java.util.Set;
   
  +import org.apache.commons.lang.builder.ToStringBuilder;
  +import org.apache.commons.logging.Log;
  +import org.apache.commons.logging.LogFactory;
   import org.apache.tapestry.ApplicationRuntimeException;
   import org.apache.tapestry.IMarkupWriter;
   import org.apache.tapestry.INamespace;
  @@ -76,12 +79,8 @@
   import org.apache.tapestry.spec.ILibrarySpecification;
   import org.apache.tapestry.spec.LibrarySpecification;
   import org.apache.tapestry.util.IRenderDescription;
  -import org.apache.tapestry.util.StringSplitter;
   import org.apache.tapestry.util.pool.Pool;
   import org.apache.tapestry.util.xml.DocumentParseException;
  -import org.apache.commons.lang.builder.ToStringBuilder;
  -import org.apache.commons.logging.Log;
  -import org.apache.commons.logging.LogFactory;
   
   /**
    *  Default implementation of {@link ISpecificationSource} that
  
  
  
  1.3       +1 -6      jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/components/Browser.java
  
  Index: Browser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/src/org/apache/tapestry/vlib/components/Browser.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Browser.java	26 Mar 2003 19:49:53 -0000	1.2
  +++ Browser.java	30 Mar 2003 17:04:56 -0000	1.3
  @@ -56,15 +56,10 @@
   package org.apache.tapestry.vlib.components;
   
   import java.rmi.RemoteException;
  -import java.util.ArrayList;
  -import java.util.List;
   
   import org.apache.tapestry.ApplicationRuntimeException;
   import org.apache.tapestry.BaseComponent;
  -import org.apache.tapestry.IBinding;
   import org.apache.tapestry.IRequestCycle;
  -import org.apache.tapestry.event.PageDetachListener;
  -import org.apache.tapestry.event.PageEvent;
   import org.apache.tapestry.vlib.ejb.Book;
   import org.apache.tapestry.vlib.ejb.IBookQuery;
   
  
  
  

Mime
View raw message