Changeset 9558

Show
Ignore:
Timestamp:
03/31/09 14:52:24 (1 year ago)
Author:
hannes
Message:

Do not convert all values to strings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • helma/helma/trunk/src/helma/util/ResourceProperties.java

    r9542 r9558  
    483483     */ 
    484484    public Object put(Object key, Object value) { 
    485         if (value != null) { 
    486             value = value.toString().trim(); 
     485        if (value instanceof String) { 
     486            value = ((String) value).trim(); 
    487487        } 
    488488        String strkey = key.toString();