Author: jbq
Date: Fri Mar  9 13:17:39 2007
New Revision: 516553

URL: http://svn.apache.org/viewvc?view=rev&rev=516553
Log:
Very minor changes

Modified:
    
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Response.java
    
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebResponse.java

Modified: 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Response.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Response.java?view=diff&rev=516553&r1=516552&r2=516553
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Response.java 
(original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/Response.java 
Fri Mar  9 13:17:39 2007
@@ -50,7 +50,7 @@
        private static final Log log = LogFactory.getLog(Response.class);
 
        /** Default encoding of output stream */
-    private String defaultEncoding;
+       private String defaultEncoding;
 
        /**
         * Closes the response output stream
@@ -58,14 +58,13 @@
        public void close()
        {
        }
-       
+
        /**
-        * Called when the Response needs to reset itself.
-        * Subclasses can empty there buffer or build up state.
+        * Called when the Response needs to reset itself. Subclasses can empty
+        * there buffer or build up state.
         */
        public void reset()
        {
-               
        }
 
        /**
@@ -160,18 +159,17 @@
        }
 
        /**
-        * Set the default encoding for the output. 
-        * Note: It is up to the derived class to make use of the information.
-        * Class Respsonse simply stores the value, but does not apply
-        * it anywhere automatically.
+        * Set the default encoding for the output. Note: It is up to the 
derived
+        * class to make use of the information. Class Respsonse simply stores 
the
+        * value, but does not apply it anywhere automatically.
         * 
         * @param encoding
         */
        public void setCharacterEncoding(final String encoding)
        {
-           this.defaultEncoding = encoding;
+               this.defaultEncoding = encoding;
        }
-       
+
        /**
         * Set the content length on the response, if appropriate in the 
subclass.
         * This default implementation does nothing.
@@ -195,15 +193,16 @@
        }
 
        /**
-        * Set the contents last modified time, if appropriate in the subclass.
-        * This default implementation does nothing.
-        * @param time 
-        *                              The time object 
+        * Set the contents last modified time, if appropriate in the subclass. 
This
+        * default implementation does nothing.
+        * 
+        * @param time
+        *            The time object
         */
        public void setLastModifiedTime(Time time)
        {
        }
-       
+
        /**
         * @param locale
         *            Locale to use for this response
@@ -211,7 +210,7 @@
        public void setLocale(final Locale locale)
        {
        }
-       
+
        /**
         * Writes the given tag to via the write(String) abstract method.
         * 

Modified: 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebResponse.java
URL: 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebResponse.java?view=diff&rev=516553&r1=516552&r2=516553
==============================================================================
--- 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebResponse.java
 (original)
+++ 
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebResponse.java
 Fri Mar  9 13:17:39 2007
@@ -348,7 +348,7 @@
        }
 
        /**
-        * Convinience method for setting the content-disposition:attachment 
header.
+        * Convenience method for setting the content-disposition:attachment 
header.
         * This header is used if the response should prompt the user to 
download it
         * as a file instead of opening in a browser.
         * 


Reply via email to