[EMAIL PROTECTED] pisze:
Author: reinhard
Date: Thu Apr 26 14:16:06 2007
New Revision: 532869
URL: http://svn.apache.org/viewvc?view=rev&rev=532869
Log:
set default to 200
Modified:
cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java
Modified:
cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java
URL:
http://svn.apache.org/viewvc/cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java?view=diff&rev=532869&r1=532868&r2=532869
==============================================================================
---
cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java
(original)
+++
cocoon/trunk/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/treeprocessor/sitemap/SerializeNode.java
Thu Apr 26 14:16:06 2007
@@ -125,7 +125,7 @@
desc.mimeType);
// Set status code if there is one
- int statusCodeInt = -1;
+ int statusCodeInt = 200;
try {
String statusCodeString = this.statusCode.resolve(context,
env.getObjectModel());
if(null != statusCodeString) {
Oups, I thought I've done that already. Sight, I'm little too busy.
Thanks Reinhard for taking care and I'm sorry for not committing fix myself.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/