commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r155991 - in jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant: AntTagLibrary.java JellyPropsHandler.java
Date Thu, 03 Mar 2005 01:30:57 GMT
Author: brett
Date: Wed Mar  2 17:30:56 2005
New Revision: 155991

URL: http://svn.apache.org/viewcvs?view=rev&rev=155991
Log:
missed some imports

Modified:
    jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java
    jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/JellyPropsHandler.java

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java?view=diff&r1=155990&r2=155991
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/AntTagLibrary.java
Wed Mar  2 17:30:56 2005
@@ -17,23 +17,18 @@
 
 import org.apache.commons.beanutils.ConvertUtils;
 import org.apache.commons.beanutils.Converter;
-import org.apache.commons.grant.GrantProject;
 import org.apache.commons.jelly.JellyContext;
 import org.apache.commons.jelly.JellyException;
 import org.apache.commons.jelly.Tag;
 import org.apache.commons.jelly.TagLibrary;
 import org.apache.commons.jelly.impl.TagFactory;
 import org.apache.commons.jelly.impl.TagScript;
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
 import org.apache.tools.ant.BuildLogger;
 import org.apache.tools.ant.NoBannerLogger;
 import org.apache.tools.ant.Project;
 import org.apache.tools.ant.taskdefs.optional.junit.FormatterElement;
 import org.apache.tools.ant.types.EnumeratedAttribute;
 import org.apache.tools.ant.types.Reference;
-
 import org.xml.sax.Attributes;
 
 /**
@@ -45,9 +40,6 @@
  */
 public class AntTagLibrary extends TagLibrary {
 
-    /** The Log to which logging calls will be made. */
-    private static final Log log = LogFactory.getLog(AntTagLibrary.class);
-
     public static final String PROJECT_CONTEXT_HANDLE = "org.apache.commons.jelly.ant.Project";
 
     static {
@@ -161,12 +153,12 @@
     /**
      * @return a new TagScript for any custom, statically defined tags, like 'fileScanner'
      */
-    public TagScript createCustomTagScript(String name, Attributes attributes) throws JellyException
{
+    public TagScript createCustomTagScript(String name, Attributes attributes) {
         // custom Ant tags
         if ( name.equals("fileScanner") ) {
             return new TagScript(
                 new TagFactory() {
-                    public Tag createTag(String name, Attributes attributes) throws JellyException
{
+                    public Tag createTag(String name, Attributes attributes) {
                         return new FileScannerTag(new FileScanner());
                     }
                 }
@@ -175,7 +167,7 @@
         if ( name.equals("setProperty") ) {
             return new TagScript(
                 new TagFactory() {
-                    public Tag createTag(String name, Attributes attributes) throws JellyException
{
+                    public Tag createTag(String name, Attributes attributes) {
                         return new SetPropertyTag();
                     }
                 }

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/JellyPropsHandler.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/JellyPropsHandler.java?view=diff&r1=155990&r2=155991
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/JellyPropsHandler.java
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/ant/src/java/org/apache/commons/jelly/tags/ant/JellyPropsHandler.java
Wed Mar  2 17:30:56 2005
@@ -19,7 +19,6 @@
 import java.util.Hashtable;
 import java.util.Iterator;
 
-import org.apache.commons.grant.DefaultPropsHandler;
 import org.apache.commons.jelly.JellyContext;
 import org.apache.commons.jelly.expression.Expression;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message