| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Adobe BlazeDS
Revision: 3040
Author: jvroom@adobe.com
Date: 29 Aug 2008 11:42:48
Changes:Get rid of an NPE for some destinations which try to configure null values for
properties.
| ... | ...@@ -206,7 +206,7 @@ | |
| 206 | 206 | */ |
| 207 | 207 | public void addProperty(String name, String value) |
| 208 | 208 | { |
| 209 | addPropertyLogic(name, TRIM_CONFIG_PROPERTY_VALUES ? value.trim() : value); | |
| 209 | addPropertyLogic(name, TRIM_CONFIG_PROPERTY_VALUES && value != null ? value.trim() : value); | |
| 210 | 210 | } |
| 211 | 211 | |
| 212 | 212 | /** |