You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/04/14 06:10:34 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/generation StreamGenerator.java
vgritsenko 02/04/13 21:10:33
Modified: src/java/org/apache/cocoon/generation Tag:
cocoon_2_0_3_branch StreamGenerator.java
Log:
merge changes
Revision Changes Path
No revision
No revision
1.8.2.1 +2 -2 xml-cocoon2/src/java/org/apache/cocoon/generation/StreamGenerator.java
Index: StreamGenerator.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/generation/StreamGenerator.java,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -r1.8 -r1.8.2.1
--- StreamGenerator.java 20 Mar 2002 20:37:48 -0000 1.8
+++ StreamGenerator.java 14 Apr 2002 04:10:33 -0000 1.8.2.1
@@ -85,7 +85,7 @@
* number of bytes read is equal to the getContentLength() value.
*
* @author <a href="mailto:Kinga_Dziembowski@hp.com">Kinga Dziembowski</a>
- * @version CVS $Id: StreamGenerator.java,v 1.8 2002/03/20 20:37:48 vgritsenko Exp $
+ * @version CVS $Id: StreamGenerator.java,v 1.8.2.1 2002/04/14 04:10:33 vgritsenko Exp $
*/
public class StreamGenerator extends ComposerGenerator
{
@@ -123,7 +123,7 @@
HttpServletRequest request = (HttpServletRequest) objectModel.get(HttpEnvironment.HTTP_REQUEST_OBJECT);
contentType = request.getContentType();
if (contentType == null) {
- throw new IOException("Requred header ContentType is missing.");
+ throw new IOException("Required header ContentType is missing.");
} else if (contentType.startsWith("application/x-www-form-urlencoded")) {
String sXml = request.getParameter(parameter);
inputSource = new InputSource(new StringReader(sXml));
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org