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/impl Embedded.java
Date Thu, 02 Sep 2004 06:58:34 GMT
dion        2004/09/01 23:58:34

  Modified:    jelly/src/java/org/apache/commons/jelly/impl Embedded.java
  Log:
  Formatting
  
  Revision  Changes    Path
  1.5       +5 -9      jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/Embedded.java
  
  Index: Embedded.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/Embedded.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Embedded.java	24 Feb 2004 14:03:06 -0000	1.4
  +++ Embedded.java	2 Sep 2004 06:58:34 -0000	1.5
  @@ -35,13 +35,11 @@
   import org.xml.sax.SAXException;
   
   /**
  - * 
  - * 
    * @author <a href="mailto:vinayc@apache.org">Vinay Chandran</a>
  - */
  -/** <p><code>Embedded</code> provides easy means to embed JellyEngine
<br/>
  - *  and use Jelly scripts within an application</p>
  - *  A typical usage:<br/>
  + *
  + * <p><code>Embedded</code> provides easy means to embed JellyEngine
<br/>
  + * and use Jelly scripts within an application</p>
  + * A typical usage:<br/>
    *  <code><br/>
    *     Embedded embedded = new Embedded();<br/>
    *     embedded.setOutputStream(new ByteArrayOutputStream());<br/>
  @@ -165,6 +163,7 @@
       private void compileScriptAndKeep() {
           XMLParser parser = new XMLParser();
           parser.setContext(m_context);
  +        m_scriptCompiled = false;
           try {
               m_script = parser.parse(m_inputStream);
               m_script = m_script.compile();
  @@ -172,15 +171,12 @@
           }
           catch (IOException e) {
               m_scriptCompilationException = e;
  -            m_scriptCompiled = false;
           }
           catch (SAXException e) {
               m_scriptCompilationException = e;
  -            m_scriptCompiled = false;
           }
           catch (Exception e) {
               m_scriptCompilationException = e;
  -            m_scriptCompiled = false;
           }
       }
   
  
  
  

---------------------------------------------------------------------
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