velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r564438 - in /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools: ./ config/ generic/ generic/log/ struts/ view/ view/context/ view/servlet/
Date Fri, 10 Aug 2007 00:15:20 GMT
Author: nbubna
Date: Thu Aug  9 17:15:18 2007
New Revision: 564438

URL: http://svn.apache.org/viewvc?view=rev&rev=564438
Log:
remove unused import statements (PMD)

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ClassUtils.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/Toolbox.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ToolboxFactory.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FactoryConfiguration.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolConfiguration.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AlternatorTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ConversionTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DateTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/NumberTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ValueParser.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/ErrorsTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/FormTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityLayoutServlet.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewContext.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/context/ChainedContext.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolInfo.java
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ClassUtils.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ClassUtils.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ClassUtils.java (original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ClassUtils.java Thu
Aug  9 17:15:18 2007
@@ -24,16 +24,11 @@
 import java.lang.reflect.Method;
 import java.net.MalformedURLException;
 import java.net.URL;
-import java.text.NumberFormat;
-import java.text.ParseException;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.Enumeration;
-import java.util.HashMap;
 import java.util.LinkedHashSet;
 import java.util.List;
-import java.util.Locale;
-import java.util.Map;
 import java.util.Set;
 
 /**

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/Toolbox.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/Toolbox.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/Toolbox.java (original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/Toolbox.java Thu Aug
 9 17:15:18 2007
@@ -21,7 +21,6 @@
 
 import java.util.Collections;
 import java.util.HashMap;
-import java.util.List;
 import java.util.Map;
 import java.util.Set;
 

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ToolboxFactory.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ToolboxFactory.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ToolboxFactory.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/ToolboxFactory.java
Thu Aug  9 17:15:18 2007
@@ -19,9 +19,7 @@
  * under the License.
  */
 
-import java.util.ArrayList;
 import java.util.HashMap;
-import java.util.List;
 import java.util.Map;
 import org.apache.velocity.tools.config.Data;
 import org.apache.velocity.tools.config.FactoryConfiguration;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FactoryConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FactoryConfiguration.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FactoryConfiguration.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FactoryConfiguration.java
Thu Aug  9 17:15:18 2007
@@ -21,7 +21,6 @@
 
 import java.util.LinkedHashSet;
 import java.util.List;
-import java.util.Map;
 import java.util.Set;
 import org.apache.velocity.tools.ToolboxFactory;
 

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/FileFactoryConfiguration.java
Thu Aug  9 17:15:18 2007
@@ -20,8 +20,6 @@
  */
 
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
 import java.io.InputStream;
 import java.io.IOException;
 import java.net.MalformedURLException;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolConfiguration.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolConfiguration.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/ToolConfiguration.java
Thu Aug  9 17:15:18 2007
@@ -20,7 +20,6 @@
  */
 
 import java.lang.reflect.Method;
-import java.util.Map;
 import org.apache.velocity.tools.OldToolInfo;
 import org.apache.velocity.tools.ToolInfo;
 import org.apache.velocity.tools.ClassUtils;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AlternatorTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AlternatorTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AlternatorTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/AlternatorTool.java
Thu Aug  9 17:15:18 2007
@@ -20,7 +20,6 @@
  */
 
 import java.util.List;
-import java.util.Map;
 import org.apache.velocity.tools.config.DefaultKey;
 
 /**

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ConversionTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ConversionTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ConversionTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ConversionTool.java
Thu Aug  9 17:15:18 2007
@@ -20,18 +20,13 @@
  */
 
 import java.lang.reflect.Array;
-import java.text.DateFormat;
-import java.text.DecimalFormat;
-import java.text.DecimalFormatSymbols;
 import java.text.NumberFormat;
 import java.text.SimpleDateFormat;
 import java.util.Collection;
 import java.util.Date;
 import java.util.Calendar;
 import java.util.Iterator;
-import java.util.List;
 import java.util.Locale;
-import java.util.Map;
 import java.util.TimeZone;
 import org.apache.velocity.tools.ConversionUtils;
 import org.apache.velocity.tools.config.DefaultKey;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DateTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DateTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DateTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DateTool.java
Thu Aug  9 17:15:18 2007
@@ -25,7 +25,6 @@
 import java.util.Date;
 import java.util.Calendar;
 import java.util.Locale;
-import java.util.Map;
 import java.util.TimeZone;
 import org.apache.velocity.tools.ConversionUtils;
 import org.apache.velocity.tools.config.DefaultKey;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
Thu Aug  9 17:15:18 2007
@@ -20,7 +20,6 @@
  */
 
 import java.lang.reflect.Array;
-import java.util.Arrays;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.Collections;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/MathTool.java
Thu Aug  9 17:15:18 2007
@@ -22,8 +22,6 @@
 import java.util.Arrays;
 import java.util.Collection;
 import java.util.Iterator;
-import java.util.Locale;
-import java.util.Map;
 import org.apache.commons.beanutils.PropertyUtils;
 import org.apache.velocity.tools.ConversionUtils;
 import org.apache.velocity.tools.config.DefaultKey;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/NumberTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/NumberTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/NumberTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/NumberTool.java
Thu Aug  9 17:15:18 2007
@@ -19,11 +19,8 @@
  * under the License.
  */
 
-import java.text.DecimalFormat;
-import java.text.DecimalFormatSymbols;
 import java.text.NumberFormat;
 import java.util.Locale;
-import java.util.Map;
 import org.apache.velocity.tools.ConversionUtils;
 import org.apache.velocity.tools.config.DefaultKey;
 

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/RenderTool.java
Thu Aug  9 17:15:18 2007
@@ -20,7 +20,6 @@
  */
 
 import java.io.StringWriter;
-import java.util.Map;
 import org.apache.velocity.app.Velocity;
 import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.context.Context;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ValueParser.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ValueParser.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ValueParser.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/ValueParser.java
Thu Aug  9 17:15:18 2007
@@ -19,11 +19,6 @@
  * under the License.
  */
 
-import java.lang.reflect.Array;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
 import java.util.Map;
 import java.util.Locale;
 import org.apache.velocity.tools.config.DefaultKey;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java
Thu Aug  9 17:15:18 2007
@@ -20,9 +20,7 @@
  */
 
 import org.apache.velocity.app.Velocity;
-import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.runtime.log.Log;
-import org.apache.velocity.runtime.log.LogChute;
 
 /**
  * Redirects commons-logging messages to Velocity's configured LogChute.

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/ErrorsTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/ErrorsTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/ErrorsTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/ErrorsTool.java
Thu Aug  9 17:15:18 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import java.util.Map;
 import org.apache.struts.action.ActionMessages;
 import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.DefaultKey;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/FormTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/FormTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/FormTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/struts/FormTool.java
Thu Aug  9 17:15:18 2007
@@ -19,7 +19,6 @@
  * under the License.
  */
 
-import java.util.Map;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 import org.apache.struts.action.ActionForm;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/BrowserTool.java
Thu Aug  9 17:15:18 2007
@@ -26,7 +26,6 @@
 import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.DefaultKey;
 import org.apache.velocity.tools.config.InvalidScope;
-import org.apache.velocity.tools.view.ViewContext;
 
 /**
  *  <p>browser-sniffing tool (session or request scope requested, session scope advised).</p>

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/LinkTool.java
Thu Aug  9 17:15:18 2007
@@ -22,7 +22,6 @@
 import java.io.UnsupportedEncodingException;
 import java.net.URLEncoder;
 import java.util.ArrayList;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Map;
 import javax.servlet.ServletContext;
@@ -32,7 +31,6 @@
 import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.DefaultKey;
 import org.apache.velocity.tools.config.ValidScope;
-import org.apache.velocity.tools.generic.ValueParser;
 import org.apache.velocity.tools.view.ServletUtils;
 
 /**

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
Thu Aug  9 17:15:18 2007
@@ -23,7 +23,6 @@
 import java.util.Map;
 import javax.servlet.ServletContext;
 import org.apache.velocity.app.VelocityEngine;
-import org.apache.velocity.context.Context;
 import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.DefaultKey;
 import org.apache.velocity.tools.config.InvalidScope;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/PagerTool.java
Thu Aug  9 17:15:18 2007
@@ -22,13 +22,11 @@
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
-import java.util.Map;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpSession;
 import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.DefaultKey;
 import org.apache.velocity.tools.config.InvalidScope;
-import org.apache.velocity.tools.view.ViewContext;
 
 /**
  * <p>View tool for doing request-based pagination of

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityLayoutServlet.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityLayoutServlet.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityLayoutServlet.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityLayoutServlet.java
Thu Aug  9 17:15:18 2007
@@ -28,7 +28,6 @@
 import org.apache.velocity.Template;
 import org.apache.velocity.context.Context;
 import org.apache.velocity.exception.MethodInvocationException;
-import org.apache.velocity.exception.ParseErrorException;
 
 /**
  * Extension of the VelocityViewServlet to perform "two-pass"

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Thu Aug  9 17:15:18 2007
@@ -24,9 +24,7 @@
 import java.io.FileNotFoundException;
 import java.io.InputStream;
 import java.io.IOException;
-import java.io.PrintWriter;
 import java.io.Writer;
-import java.util.Properties;
 import javax.servlet.ServletConfig;
 import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewContext.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewContext.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewContext.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewContext.java
Thu Aug  9 17:15:18 2007
@@ -24,7 +24,6 @@
 import javax.servlet.ServletContext;
 import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.context.Context;
-import org.apache.velocity.tools.Toolbox;
 
 /**
  * <p>Objects implementing this interface are passed to view tools

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/ViewRenderTool.java
Thu Aug  9 17:15:18 2007
@@ -20,7 +20,6 @@
  */
 
 import org.apache.velocity.context.Context;
-import org.apache.velocity.tools.Scope;
 import org.apache.velocity.tools.config.InvalidScope;
 import org.apache.velocity.tools.generic.RenderTool;
 

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/context/ChainedContext.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/context/ChainedContext.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/context/ChainedContext.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/context/ChainedContext.java
Thu Aug  9 17:15:18 2007
@@ -19,13 +19,11 @@
  * under the License.
  */
 
-import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import javax.servlet.ServletContext;
-import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.context.Context;
 import org.apache.velocity.tools.view.ViewToolContext;

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolInfo.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolInfo.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolInfo.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolInfo.java
Thu Aug  9 17:15:18 2007
@@ -19,9 +19,7 @@
  * under the License.
  */
 
-import javax.servlet.http.HttpServletRequest;
 import org.apache.velocity.tools.view.ViewToolInfo;
-
 
 /**
  * <p>ToolInfo implementation that holds scope information for tools

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java?view=diff&rev=564438&r1=564437&r2=564438
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/servlet/ServletToolboxManager.java
Thu Aug  9 17:15:18 2007
@@ -20,8 +20,6 @@
  */
 
 import java.io.InputStream;
-import java.io.PrintWriter;
-import java.io.StringWriter;
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.Iterator;



Mime
View raw message