package com.thoughtworks.xstream.converters.basic;

public class StringConverter extends AbstractBasicConverter {

    public boolean canConvert(Class type) {
        return type.equals(String.class);
    }

    protected Object fromString(String str) {
        return str;
    }

}

@@ -265,16 +265,25 @@
 turn str
+.intern()
 ;%0A    %7D%0A

Optimization.... reuse String instance if possible