You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by gr...@apache.org on 2001/01/19 20:31:39 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon Engine.java

greenrd     01/01/19 11:31:39

  Modified:    src/org/apache/cocoon Engine.java
  Log:
  generated comment on newline
  
  Revision  Changes    Path
  1.47      +3 -3      xml-cocoon/src/org/apache/cocoon/Engine.java
  
  Index: Engine.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Engine.java,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- Engine.java	2001/01/18 23:40:18	1.46
  +++ Engine.java	2001/01/19 19:31:37	1.47
  @@ -1,4 +1,4 @@
  -/*-- $Id: Engine.java,v 1.46 2001/01/18 23:40:18 greenrd Exp $ --
  +/*-- $Id: Engine.java,v 1.47 2001/01/19 19:31:37 greenrd Exp $ --
   
    ============================================================================
                      The Apache Software License, Version 1.1
  @@ -77,7 +77,7 @@
    *
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
    * @author <a href="mailto:greenrd@hotmail.com">Robin Green</a>
  - * @version $Revision: 1.46 $ $Date: 2001/01/18 23:40:18 $
  + * @version $Revision: 1.47 $ $Date: 2001/01/19 19:31:37 $
    */
   
   public class Engine implements Defaults {
  @@ -467,7 +467,7 @@
                   // print some processing info as a comment
                   if (VERBOSE && (page.isText()) && !"HEAD".equals(request.getMethod())) {
                       time = System.currentTimeMillis() - time;
  -                    String comment = "<!-- This page was served "
  +                    String comment = "\n<!-- This page was served "
                           + (wasInCache ? "from cache " : "")
                           + "in " + time + " milliseconds by "
                           + Cocoon.version() + " -->";