velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r564004 - in /velocity/tools/branches/2.x/src: main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java
Date Wed, 08 Aug 2007 19:57:14 GMT
Author: nbubna
Date: Wed Aug  8 12:57:12 2007
New Revision: 564004

URL: http://svn.apache.org/viewvc?view=rev&rev=564004
Log:
LogChuteCommonsLog doesn't actually use its name field

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/log/LogChuteCommonsLog.java
    velocity/tools/branches/2.x/src/test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java

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=564004&r1=564003&r2=564004
==============================================================================
--- 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
Wed Aug  8 12:57:12 2007
@@ -58,21 +58,6 @@
 
 
     // ********************  begin non-static stuff *******************
-
-    private String name;
-
-    public LogChuteCommonsLog() 
-    {
-        this("");
-    }
-
-    public LogChuteCommonsLog(String name) 
-    {
-        if (name == null)
-        {
-            throw new NullPointerException("Log name cannot be null");
-        }
-    }
     
     protected Log getTarget()
     {

Modified: velocity/tools/branches/2.x/src/test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java?view=diff&rev=564004&r1=564003&r2=564004
==============================================================================
--- velocity/tools/branches/2.x/src/test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java
(original)
+++ velocity/tools/branches/2.x/src/test/java/org/apache/velocity/tools/test/FilteredLogChuteCommonsLog.java
Wed Aug  8 12:57:12 2007
@@ -35,7 +35,6 @@
 
     public FilteredLogChuteCommonsLog(String name)
     {
-        super(name);
         filter = !name.startsWith("org.apache.velocity");
     }
 



Mime
View raw message