cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r312659 - in /cocoon/trunk/src/java/org/apache/cocoon: core/ environment/internal/
Date Mon, 10 Oct 2005 14:12:00 GMT
Author: cziegeler
Date: Mon Oct 10 07:11:48 2005
New Revision: 312659

URL: http://svn.apache.org/viewcvs?rev=312659&view=rev
Log:
JavaDoc

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/core/BootstrapEnvironment.java
    cocoon/trunk/src/java/org/apache/cocoon/core/Core.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/BlockEnvironmentHelper.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelperException.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentInfo.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentStack.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/ForwardEnvironmentWrapper.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PopEnvironmentChanger.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PushEnvironmentChanger.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPopEnvironmentException.java
    cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPushEnvironmentException.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/core/BootstrapEnvironment.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/core/BootstrapEnvironment.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/core/BootstrapEnvironment.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/core/BootstrapEnvironment.java Mon Oct 10 07:11:48
2005
@@ -35,6 +35,10 @@
  */
 public interface BootstrapEnvironment {
 
+    /**
+     * Convenience class to define some constants for log levels.
+     * @see BootstrapEnvironment#getBootstrapLogger(LogLevel)
+     */
     public static final class LogLevel {
 
         public static final LogLevel DEBUG = new LogLevel( "DEBUG", 0 );
@@ -127,8 +131,12 @@
      */
     void configure(DefaultContext context);
 
+    /**
+     * Create the context object of the environment.
+     * @return The context object.
+     */
     org.apache.cocoon.environment.Context getEnvironmentContext();
-    
+
     /**
      * Returns the URL to the application context.
      */
@@ -150,5 +158,4 @@
      */
     URL getConfigFile(String configFileName)
     throws Exception;
-       
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/core/Core.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/core/Core.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/core/Core.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/core/Core.java Mon Oct 10 07:11:48 2005
@@ -60,7 +60,7 @@
     private final Context context;
 
     private final Settings settings;
-    
+
     /**
      * Constructor
      * The core object is created by the {@link CoreUtil} class. Never construct
@@ -100,6 +100,7 @@
                 t.invoke();
             }
             l.clear();
+            cleanup.set(null);
         }
     }
 
@@ -142,7 +143,7 @@
             throw new CoreResourceNotFoundException("Unable to get the environment object
from the context.", ce);
         }
     }
-    
+
     /**
      * Return the Avalon context.
      * @return The Avalon context.
@@ -150,7 +151,7 @@
     public Context getContext() {
         return this.context;
     }
-    
+
     /**
      * Return the current object model
      * @return The object model.
@@ -191,7 +192,7 @@
             throw new CoreResourceNotFoundException("Unable to get the cache directory from
the context.", ce);
         }        
     }
-    
+
     /**
      * Return the current sitemap.
      * @return The current sitemap or null if no request is currently processed
@@ -238,6 +239,5 @@
             // TODO We ignore the language for now
             return (Interpreter)this.getProcessor().getAttribute(Interpreter.ROLE);
         }
-
     }
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/BlockEnvironmentHelper.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/BlockEnvironmentHelper.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/BlockEnvironmentHelper.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/BlockEnvironmentHelper.java
Mon Oct 10 07:11:48 2005
@@ -23,7 +23,9 @@
  * Hack used for geting hold on the current block manager without
  * making core code dependent of the experimental blocks code.
  *
- * @version $Id$ */
+ * @version $Id$
+ * @since 2.2 
+ */
 public class BlockEnvironmentHelper
     extends EnvironmentHelper {
 

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelper.java Mon
Oct 10 07:11:48 2005
@@ -35,13 +35,14 @@
 import org.apache.excalibur.source.Source;
 
 /**
- * Experimental code for cleaning up the environment handling
+ * Helper class for maintaining the environment stack.
+ *
  * This is an internal class, and it might change in an incompatible way over time.
  * For developing your own components/applications based on Cocoon, you shouldn't
  * really need it.
  *
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Id$
+ * @version $Id$
  * @since 2.2
  */
 public class EnvironmentHelper
@@ -86,7 +87,7 @@
         this.prefix = parent.prefix;
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.avalon.framework.service.Serviceable#service(org.apache.avalon.framework.service.ServiceManager)
      */
     public void service(ServiceManager manager) throws ServiceException {
@@ -105,7 +106,7 @@
         }
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.avalon.framework.activity.Disposable#dispose()
      */
     public void dispose() {
@@ -116,14 +117,14 @@
         }
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.excalibur.source.SourceResolver#release(org.apache.excalibur.source.Source)
      */
     public void release(Source source) {
         this.resolver.release(source);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String, java.lang.String,
java.util.Map)
      */
     public Source resolveURI(final String location,
@@ -135,7 +136,7 @@
                                         parameters);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.excalibur.source.SourceResolver#resolveURI(java.lang.String)
      */
     public Source resolveURI(final String location)
@@ -417,7 +418,7 @@
     public static XMLConsumer createPopEnvironmentConsumer(XMLConsumer consumer) {
         return new PopEnvironmentChanger(consumer);
     }
-    
+
     /**
      * A runnable wrapper that inherits the environment stack of the thread it is
      * created in.
@@ -454,7 +455,7 @@
             // A CocoonThread is meant to start and die within the execution period of the
parent request,
             // and it is an error if it lives longer as the parent environment is no more
valid.
         }
-        
+
         abstract protected void doRun();
     }
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelperException.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelperException.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelperException.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentHelperException.java
Mon Oct 10 07:11:48 2005
@@ -17,15 +17,17 @@
 
 import org.apache.avalon.framework.CascadingRuntimeException;
 
-public class EnvironmentHelperException extends CascadingRuntimeException
-{
-    public EnvironmentHelperException(String message)
-    {
+/**
+ * @version $Id$
+ * @since 2.2
+ */
+public class EnvironmentHelperException extends CascadingRuntimeException {
+
+    public EnvironmentHelperException(String message) {
         super(message, null);
     }
 
-    public EnvironmentHelperException(String message, Throwable cause)
-    {
+    public EnvironmentHelperException(String message, Throwable cause) {
         super(message, cause);
     }
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentInfo.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentInfo.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentInfo.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentInfo.java Mon
Oct 10 07:11:48 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
- * 
+ * Copyright 1999-2005 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.
@@ -20,22 +20,23 @@
 import org.apache.cocoon.environment.Environment;
 
 /**
- * Experimental code for cleaning up the environment handling
+ * This object holds a set of objects for an environment.
+ *
  * This is an internal class, and it might change in an incompatible way over time.
  * For developing your own components/applications based on Cocoon, you shouldn't 
  * really need it.
- * 
+ *
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Id: EnvironmentInfo.java,v 1.1 2004/05/25 07:28:25 cziegeler Exp $
+ * @version $Id$
  * @since 2.2
  */
 public class EnvironmentInfo {
-    
+
     public final Processor      processor;
     public final int            oldStackCount;
     public final ServiceManager manager;
     public final Environment    environment;
-    
+
     public EnvironmentInfo(Processor processor, 
                            int oldStackCount,
                            ServiceManager manager,

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentStack.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentStack.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentStack.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/EnvironmentStack.java Mon
Oct 10 07:11:48 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
- * 
+ * Copyright 1999-2005 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.
@@ -23,6 +23,7 @@
 
 /**
  * The stack for the processing environment.
+ *
  * This is an internal class, and it might change in an incompatible way over time.
  * For developing your own components/applications based on Cocoon, you shouldn't 
  * really need it.
@@ -30,45 +31,45 @@
  * cocoon protocol and the sitemap source resolving.
  *
  * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Id: EnvironmentStack.java,v 1.1 2004/05/25 07:28:25 cziegeler Exp $
+ * @version $Id$
  * @since 2.2
  */
 final class EnvironmentStack 
     extends ArrayStack 
     implements Cloneable {
-    
+
     int offset;
-    
+
     EnvironmentInfo getCurrentInfo() {
         return (EnvironmentInfo)this.get(offset);
     }
-    
+
     void pushInfo(EnvironmentInfo info) {
         this.push(info);
     }
-    
+
     EnvironmentInfo popInfo() {
         return (EnvironmentInfo)this.pop();
     }
-    
+
     EnvironmentInfo peekInfo() {
         return (EnvironmentInfo)this.peek();
     }
-    
+
     int getOffset() {
         return this.offset;
     }
-  
+
     void setOffset(int value) {
         this.offset = value;  
     }
-    
+
     public Object clone() {
         EnvironmentStack old = (EnvironmentStack) super.clone();
         old.offset = offset;
         return old;
     }
-    
+
     XMLConsumer getEnvironmentAwareConsumerWrapper(XMLConsumer consumer, 
                                                    int oldOffset) {
         return new EnvironmentChanger(consumer, this, oldOffset, this.offset);
@@ -90,7 +91,7 @@
     final EnvironmentStack stack;
     final int oldOffset;
     final int newOffset;
-    
+
     EnvironmentChanger(XMLConsumer consumer, EnvironmentStack es,
                        int oldOffset, int newOffset) {
         this.consumer = consumer;
@@ -98,7 +99,7 @@
         this.oldOffset = oldOffset;
         this.newOffset = newOffset;
     }
-    
+
     public void setDocumentLocator(Locator locator) {
         this.stack.setOffset(this.oldOffset);
         this.consumer.setDocumentLocator(locator);
@@ -140,14 +141,13 @@
         this.stack.setOffset(this.newOffset);
     }
 
-
     public void endElement(String uri, String loc, String raw)
     throws SAXException {
         this.stack.setOffset(this.oldOffset);
         this.consumer.endElement(uri, loc, raw);
         this.stack.setOffset(this.newOffset);
     }
-    
+
     public void characters(char c[], int start, int len)
     throws SAXException {
         this.stack.setOffset(this.oldOffset);

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/ForwardEnvironmentWrapper.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/ForwardEnvironmentWrapper.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/ForwardEnvironmentWrapper.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/ForwardEnvironmentWrapper.java
Mon Oct 10 07:11:48 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
- * 
+ * Copyright 1999-2005 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.
@@ -15,8 +15,6 @@
  */
 package org.apache.cocoon.environment.internal;
 
-import java.net.MalformedURLException;
-
 import org.apache.avalon.framework.logger.Logger;
 import org.apache.cocoon.components.source.impl.SitemapSourceInfo;
 import org.apache.cocoon.environment.Environment;
@@ -26,59 +24,59 @@
  * Local extension of EnvironmentWrapper to propagate otherwise blocked
  * methods to the actual environment.
  * 
- * @version CVS $Id$
-*/
+ * @version $Id$
+ * @since 2.2
+ */
 public final class ForwardEnvironmentWrapper extends EnvironmentWrapper {
 
     public ForwardEnvironmentWrapper(Environment env,
                                      SitemapSourceInfo info, 
-                                     Logger logger) 
-    throws MalformedURLException {
+                                     Logger logger) {
         super(env, info, logger, false);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#setStatus(int)
      */
     public void setStatus(int statusCode) {
         environment.setStatus(statusCode);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#setContentLength(int)
      */
     public void setContentLength(int length) {
         environment.setContentLength(length);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#setContentType(java.lang.String)
      */
     public void setContentType(String contentType) {
         environment.setContentType(contentType);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#getContentType()
      */
     public String getContentType() {
         return environment.getContentType();
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#isResponseModified(long)
      */
     public boolean isResponseModified(long lastModified) {
         return environment.isResponseModified(lastModified);
     }
 
-    /* (non-Javadoc)
+    /**
      * @see org.apache.cocoon.environment.Environment#setResponseIsNotModified()
      */
     public void setResponseIsNotModified() {
         environment.setResponseIsNotModified();
     }
-    
+
     /* (non-Javadoc)
      * @see org.apache.cocoon.environment.Environment#redirect(java.lang.String, boolean,
boolean)
     public void redirect(String newURL, boolean global, boolean permanent)
@@ -86,5 +84,5 @@
         this.environment.redirect(newURL, global, permanent);
     }
      */
-    
+
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PopEnvironmentChanger.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PopEnvironmentChanger.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PopEnvironmentChanger.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PopEnvironmentChanger.java
Mon Oct 10 07:11:48 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
- * 
+ * Copyright 1999-2005 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.
@@ -38,17 +38,19 @@
  * environment stack before calling the embeded consumer and push it
  * back afterwards. It should be placed after a sitemap component that
  * is be executed in another environment.
+ *
+ * @version $Id$
+ * @since 2.2
  */
-
 final class PopEnvironmentChanger
-implements XMLConsumer {
+    implements XMLConsumer {
 
     final XMLConsumer consumer;
-    
+
     PopEnvironmentChanger(XMLConsumer consumer) {
         this.consumer = consumer;
     }
-    
+
     private Environment leaveEnvironment() {
         return EnvironmentHelper.leaveEnvironment();
     }
@@ -106,14 +108,13 @@
         enterEnvironment(environment);
     }
 
-
     public void endElement(String uri, String loc, String raw)
     throws SAXException {
         Environment environment = leaveEnvironment();
         this.consumer.endElement(uri, loc, raw);
         enterEnvironment(environment);
     }
-    
+
     public void characters(char c[], int start, int len)
     throws SAXException {
         Environment environment = leaveEnvironment();

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PushEnvironmentChanger.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PushEnvironmentChanger.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PushEnvironmentChanger.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/PushEnvironmentChanger.java
Mon Oct 10 07:11:48 2005
@@ -1,12 +1,12 @@
 /*
- * Copyright 1999-2004 The Apache Software Foundation.
- * 
+ * Copyright 1999-2005 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.
@@ -38,19 +38,21 @@
  * environment stack before calling the embeded consumer and pops it
  * afterwards. It should be placed before a sitemap component that
  * should be executed in another environment.
+ *
+ * @version $Id$
+ * @since 2.2
  */
-
 final class PushEnvironmentChanger
-implements XMLConsumer {
+    implements XMLConsumer {
 
     final XMLConsumer consumer;
     final Environment environment;
-    
+
     PushEnvironmentChanger(XMLConsumer consumer, Environment environment) {
         this.consumer = consumer;
         this.environment = environment;
     }
-    
+
     private void enterEnvironment() throws SAXException {
         try {
             EnvironmentHelper.enterEnvironment(this.environment);
@@ -108,14 +110,13 @@
         leaveEnvironment();
     }
 
-
     public void endElement(String uri, String loc, String raw)
     throws SAXException {
         enterEnvironment();
         this.consumer.endElement(uri, loc, raw);
         leaveEnvironment();
     }
-    
+
     public void characters(char c[], int start, int len)
     throws SAXException {
         enterEnvironment();

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPopEnvironmentException.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPopEnvironmentException.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPopEnvironmentException.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPopEnvironmentException.java
Mon Oct 10 07:11:48 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2005 The Apache Software Foundation.
+ * Copyright 2005 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.
@@ -15,15 +15,17 @@
  */
 package org.apache.cocoon.environment.internal;
 
-public final class UnableToPopEnvironmentException extends EnvironmentHelperException
-{
-    public UnableToPopEnvironmentException(String message)
-    {
+/**
+ * @version $Id$
+ * @since 2.2
+ */
+public final class UnableToPopEnvironmentException extends EnvironmentHelperException {
+
+    public UnableToPopEnvironmentException(String message) {
         super(message, null);
     }
 
-    public UnableToPopEnvironmentException(String message, Throwable cause)
-    {
+    public UnableToPopEnvironmentException(String message, Throwable cause) {
         super(message, cause);
     }
 }

Modified: cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPushEnvironmentException.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPushEnvironmentException.java?rev=312659&r1=312658&r2=312659&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPushEnvironmentException.java
(original)
+++ cocoon/trunk/src/java/org/apache/cocoon/environment/internal/UnableToPushEnvironmentException.java
Mon Oct 10 07:11:48 2005
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2005 The Apache Software Foundation.
+ * Copyright 2005 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.
@@ -15,15 +15,17 @@
  */
 package org.apache.cocoon.environment.internal;
 
-public final class UnableToPushEnvironmentException extends EnvironmentHelperException
-{
-    public UnableToPushEnvironmentException(String message)
-    {
+/**
+ * @version $Id$
+ * @since 2.2
+ */
+public final class UnableToPushEnvironmentException extends EnvironmentHelperException {
+
+    public UnableToPushEnvironmentException(String message) {
         super(message, null);
     }
 
-    public UnableToPushEnvironmentException(String message, Throwable cause)
-    {
+    public UnableToPushEnvironmentException(String message, Throwable cause) {
         super(message, cause);
     }
 }



Mime
View raw message