commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/src/java/org/apache/commons/jelly TagSupport.java
Date Wed, 10 Sep 2003 07:44:51 GMT
dion        2003/09/10 00:44:51

  Modified:    jelly/src/java/org/apache/commons/jelly TagSupport.java
  Log:
  Fix compile error
  
  Revision  Changes    Path
  1.26      +6 -11     jakarta-commons/jelly/src/java/org/apache/commons/jelly/TagSupport.java
  
  Index: TagSupport.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/TagSupport.java,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- TagSupport.java	25 Jan 2003 18:59:23 -0000	1.25
  +++ TagSupport.java	10 Sep 2003 07:44:51 -0000	1.26
  @@ -62,7 +62,6 @@
   package org.apache.commons.jelly;
   
   import java.io.StringWriter;
  -import java.io.UnsupportedEncodingException;
   import java.util.Arrays;
   import java.util.Collection;
   import java.util.Iterator;
  @@ -282,11 +281,7 @@
        */
       protected String getBodyText(boolean shouldEscape) throws JellyTagException {
           StringWriter writer = new StringWriter();
  -        try {
  -            invokeBody(XMLOutput.createXMLOutput(writer,shouldEscape));
  -        } catch (UnsupportedEncodingException e) {
  -            throw new JellyTagException(e.toString());
  -        }
  +        invokeBody(XMLOutput.createXMLOutput(writer,shouldEscape));
           return writer.toString();
       }
   
  
  
  

Mime
View raw message