You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2008/11/21 18:07:16 UTC
svn commit: r719642 -
/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java
Author: werpu
Date: Fri Nov 21 09:07:15 2008
New Revision: 719642
URL: http://svn.apache.org/viewvc?rev=719642&view=rev
Log:
fixed a typo in the comment
added another comment
Modified:
myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java
Modified: myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java?rev=719642&r1=719641&r2=719642&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java (original)
+++ myfaces/core/branches/2_0_0/impl/src/main/java/org/apache/myfaces/context/servlet/ResponseSwitch.java Fri Nov 21 09:07:15 2008
@@ -31,7 +31,7 @@
* The Response has to be switchable between on and off according
* to the JSF spec 2.0!
* <p/>
- * we use an internal delegate to enable the switchting
+ * we use an internal delegate to enable the switching
* between on and off states!
*
* @author Werner Punz(latest modification by $Author$)
@@ -47,6 +47,14 @@
Writer _switchableWriter;
OutputStream _switchableOutputStream;
+ /**
+ * Constructor, implemented as servlet response
+ * wrapper so that the switching can be covered
+ * at the lowest possible level
+ *
+ * @param response
+ * @throws java.io.IOException
+ */
public ResponseSwitch(ServletResponse response) throws IOException {
super(response);
}