cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r400360 - /cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java
Date Sat, 06 May 2006 20:32:56 GMT
Author: antonio
Date: Sat May  6 13:32:56 2006
New Revision: 400360

URL: http://svn.apache.org/viewcvs?rev=400360&view=rev
Log:
Remove unused imports.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java?rev=400360&r1=400359&r2=400360&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/html/java/org/apache/cocoon/transformation/NekoHTMLTransformer.java
Sat May  6 13:32:56 2006
@@ -15,11 +15,8 @@
  */
 package org.apache.cocoon.transformation;
 
-import java.io.BufferedInputStream;
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
@@ -34,7 +31,6 @@
 import org.apache.cocoon.environment.SourceResolver;
 import org.apache.cocoon.xml.dom.DOMBuilder;
 import org.apache.cocoon.xml.IncludeXMLConsumer;
-import org.apache.cocoon.xml.XMLUtils;
 import org.apache.excalibur.source.Source;
 import org.apache.xerces.parsers.AbstractSAXParser;
 import org.cyberneko.html.HTMLConfiguration;
@@ -59,7 +55,7 @@
      * Properties for Neko format
      */
     private Properties properties;
-    
+
     /**
      * Tags that must be normalized
      */
@@ -108,7 +104,7 @@
      */
     public void configure(Configuration config) throws ConfigurationException {
         super.configure(config);
-        
+
         String configUrl = config.getChild("neko-config").getValue(null);
         if (configUrl != null) {
             org.apache.excalibur.source.SourceResolver resolver = null;
@@ -150,7 +146,7 @@
 
             ByteArrayInputStream bais =
                 new ByteArrayInputStream(text.getBytes());
-            
+
             DOMBuilder builder = new DOMBuilder();
             parser.setContentHandler(builder);
             parser.parse(new InputSource(bais));
@@ -186,13 +182,13 @@
             this.tags.put(tok, tok);
         }
     }
-    
+
     public static class HtmlSaxParser extends AbstractSAXParser {
 
         public HtmlSaxParser(Properties properties) {
             super(getConfig(properties));
         }
-    
+
         private static HTMLConfiguration getConfig(Properties properties) {
             HTMLConfiguration config = new HTMLConfiguration();
             config.setProperty("http://cyberneko.org/html/properties/names/elems", "lower");
@@ -209,5 +205,4 @@
             return config;
         }
     }
-    
 }



Mime
View raw message