You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2004/03/24 19:54:24 UTC

cvs commit: cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/util DocType.java

joerg       2004/03/24 10:54:24

  Modified:    src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree
                        Attribute.java TemplateIf.java Characters.java
                        Evaluation.java
               src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl
                        CachingSource.java
               src/blocks/scratchpad/garbage/source/java/org/apache/garbage/servlet
                        GarbageServlet.java
               src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/util
                        DocType.java
  Log:
  clean up: javadocs, unused variable in GarbageServlet
  
  Revision  Changes    Path
  1.3       +2 -2      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Attribute.java
  
  Index: Attribute.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Attribute.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Attribute.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ Attribute.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -109,7 +109,7 @@
        * Evaluate the current event and return its <code>String</code> value to
        * be included as a part of an attribute value.
        *
  -     * @param runtime The <code>Runtime</code> receiving events notifications.
  +     * @param context
        * @throws SAXException In case of error processing this event.
        */
       public String evaluate(JXPathContext context)
  
  
  
  1.3       +1 -4      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/TemplateIf.java
  
  Index: TemplateIf.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/TemplateIf.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TemplateIf.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ TemplateIf.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -37,8 +37,6 @@
   
       /**
        * Create a new <code>TemplateIf</code> instance.
  -     *
  -     * @param data The data of this expression.
        */
       public TemplateIf() {
           this(null);
  @@ -49,7 +47,6 @@
        *
        * @param locator The <code>Locator</code> instance where location
        *                information should be read from.
  -     * @param data The data of this expression.
        */
       public TemplateIf(Locator locator) {
           super(locator);
  
  
  
  1.3       +2 -2      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Characters.java
  
  Index: Characters.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Characters.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Characters.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ Characters.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -132,7 +132,7 @@
        * Evaluate the current event and return its <code>String</code> value to
        * be included as a part of an attribute value.
        *
  -     * @param runtime The <code>Runtime</code> receiving events notifications.
  +     * @param context
        */
       public String evaluate(JXPathContext context) {
           return(this.getStringValue());
  
  
  
  1.3       +2 -2      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Evaluation.java
  
  Index: Evaluation.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/tree/Evaluation.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Evaluation.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ Evaluation.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -30,7 +30,7 @@
        * Evaluate the current event and return its <code>String</code> value to
        * be included as a part of an attribute value.
        *
  -     * @param runtime The <code>Runtime</code> receiving events notifications.
  +     * @param context
        * @throws SAXException In case of error processing this event.
        */
       public String evaluate(JXPathContext context)
  
  
  
  1.10      +1 -3      cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSource.java
  
  Index: CachingSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSource.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- CachingSource.java	24 Mar 2004 15:19:20 -0000	1.9
  +++ CachingSource.java	24 Mar 2004 18:54:23 -0000	1.10
  @@ -245,7 +245,6 @@
       /**
        * Initialize the cached response with meta info.
        * 
  -     * @param refresh  whether to force refresh
        * @throws IOException  if an the binary response could not be initialized
        */
       protected void initMetaResponse() throws IOException {
  @@ -280,7 +279,6 @@
       /**
        * Initialize the cached response with binary contents.
        * 
  -     * @param refresh  whether to force refresh
        * @throws IOException  if an the binary response could not be initialized
        */
       protected void initBinaryResponse() throws IOException {
  
  
  
  1.3       +1 -6      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/servlet/GarbageServlet.java
  
  Index: GarbageServlet.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/servlet/GarbageServlet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- GarbageServlet.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ GarbageServlet.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -17,7 +17,6 @@
   
   import java.net.URL;
   import java.io.IOException;
  -import javax.servlet.ServletContext;
   import javax.servlet.ServletConfig;
   import javax.servlet.ServletException;
   import javax.servlet.ServletOutputStream;
  @@ -29,20 +28,16 @@
   import org.apache.garbage.serializer.encoding.CharsetFactory;
   
   /**
  - * 
  - * 
    * @author <a href="mailto:pier@apache.org">Pier Fumagalli</a>, February 2003
    * @version CVS $Id$
    */
   public class GarbageServlet extends HttpServlet {
   
  -    private ServletContext context = null;
       private ServletConfig config = null;
       private String charset = null;
   
       public void init()
       throws ServletException {
  -        this.context = this.getServletContext();
           this.config = this.getServletConfig();
   
           /** Preload all charsets and configure our default */
  
  
  
  1.3       +1 -2      cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/util/DocType.java
  
  Index: DocType.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/garbage/source/java/org/apache/garbage/serializer/util/DocType.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DocType.java	5 Mar 2004 10:07:24 -0000	1.2
  +++ DocType.java	24 Mar 2004 18:54:23 -0000	1.3
  @@ -34,7 +34,6 @@
        * Create a new <code>DocType</code> instance.
        * 
        * @param root_name The document root element name.
  -     * @param public_id The document type public identifier.
        * @param system_id The document type system identifier.
        */
       public DocType(String root_name, String system_id) {