[mycontainer] r835 committed - [No log message]

0 views
Skip to first unread message

mycon...@googlecode.com

unread,
Jun 26, 2011, 5:53:46 PM6/26/11
to mycontain...@googlegroups.com
Revision: 835
Author: fuw...@gmail.com
Date: Sun Jun 26 14:53:07 2011
Log: [No log message]
http://code.google.com/p/mycontainer/source/detail?r=835

Modified:

/trunk/devel/implementation/mycontainer-components/mycontainer-servlet-commons/src/main/java/org/mycontainer/commons/servlet/ServletUtil.java

=======================================
---
/trunk/devel/implementation/mycontainer-components/mycontainer-servlet-commons/src/main/java/org/mycontainer/commons/servlet/ServletUtil.java
Sat Jun 25 12:08:32 2011
+++
/trunk/devel/implementation/mycontainer-components/mycontainer-servlet-commons/src/main/java/org/mycontainer/commons/servlet/ServletUtil.java
Sun Jun 26 14:53:07 2011
@@ -180,7 +180,9 @@
String key = entry.getKey();
List<String> values = entry.getValue();
for (String value : values) {
- response.addHeader(key, value);
+ if (value != null) {
+ response.addHeader(key, value);
+ }
}
}
}

Reply all
Reply to author
Forward
0 new messages