cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portlet ManagedCocoonPortlet.java
Date Tue, 06 Jul 2004 22:38:28 GMT
vgritsenko    2004/07/06 15:38:28

  Modified:    src/java/org/apache/cocoon/xml ParamSaxBuffer.java
               src/blocks/portal/java/org/apache/cocoon/portlet
                        ManagedCocoonPortlet.java
  Log:
  cleanups
  
  Revision  Changes    Path
  1.7       +9 -9      cocoon-2.1/src/java/org/apache/cocoon/xml/ParamSaxBuffer.java
  
  Index: ParamSaxBuffer.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/xml/ParamSaxBuffer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ParamSaxBuffer.java	6 May 2004 10:09:03 -0000	1.6
  +++ ParamSaxBuffer.java	6 Jul 2004 22:38:28 -0000	1.7
  @@ -1,12 +1,12 @@
   /*
    * Copyright 1999-2004 The Apache Software Foundation.
  - * 
  + *
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
    * You may obtain a copy of the License at
  - * 
  + *
    *      http://www.apache.org/licenses/LICENSE-2.0
  - * 
  + *
    * Unless required by applicable law or agreed to in writing, software
    * distributed under the License is distributed on an "AS IS" BASIS,
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  @@ -29,7 +29,7 @@
    * Any <code>{name}</code> expression inside of the character events can be
    * replaced by the content of another SaxBuffer if it is present in the map
    * passed to the {@link #toSAX(ContentHandler, Map)} method.
  - * 
  + *
    * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
    * @version CVS $Id$
    */
  @@ -62,7 +62,7 @@
                   if (i > start) {
                       addBit(new Characters(ch, start, i - start));
                   }
  -                
  +
                   // Find closing brace, and construct parameter name
                   StringBuffer name = new StringBuffer();
                   int j = i + 1;
  @@ -76,14 +76,14 @@
                       throw new SAXException("Unclosed '}'");
                   }
                   addBit(new Parameter(name.toString()));
  -                
  +
                   // Continue processing
                   i = j;
                   start = j + 1;
                   continue;
               }
           }
  -        
  +
           // Send any tailing characters
           if (start < end) {
               addBit(new Characters(ch, start, end - start));
  @@ -112,7 +112,7 @@
               this.name = name;
           }
   
  -        public void send(ContentHandler contentHandler) throws SAXException {
  +        public void send(ContentHandler contentHandler) {
           }
   
           public void send(ContentHandler contentHandler, Map parameters) throws SAXException
{
  
  
  
  1.2       +5 -2      cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portlet/ManagedCocoonPortlet.java
  
  Index: ManagedCocoonPortlet.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portlet/ManagedCocoonPortlet.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ManagedCocoonPortlet.java	6 Jul 2004 20:26:12 -0000	1.1
  +++ ManagedCocoonPortlet.java	6 Jul 2004 22:38:28 -0000	1.2
  @@ -67,7 +67,10 @@
   /**
    * This is the entry point for Cocoon execution as an JSR168 Portlet.
    *
  - * @author <a href="mailto:vadim.gritsenko@dc.gov">Vadim Gritsenko</a>
  + * <p>This implementation of the Portlet interface requires that someone will
  + * first create and initialize an instance of the Cocoon object, and this
  + * Portlet will use this instance to process requests.</p>
  + *
    * @version CVS $Id$
    */
   public class ManagedCocoonPortlet extends GenericPortlet {
  
  
  

Mime
View raw message