lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Wesemann <f.wesem...@fotofinder.net>
Subject Re: [jira] Resolved: (SOLR-1823) XMLWriter throws ClassCastException on writing maps other than <String,?>
Date Fri, 19 Mar 2010 20:54:48 GMT
Hoss Man (JIRA) schrieb:
> The one subtlety that your patch broke however is that if someone uses null as a key
in the Map, that has always been written out as an entry w/o a key -- but by using String.valueOf
your patch allways produces a non-null 
Yes you're right. I didn't look deep enough and thought that 

    writeNull()'s 

        writePrim("null", name, false);
would do just this.
Thank you for taking it.



-- 
mit freundlichem Gruß,

Frank Wesemann
Fotofinder GmbH         USt-IdNr. DE812854514
Software Entwicklung    Web: http://www.fotofinder.com/
Potsdamer Str. 96       Tel: +49 30 25 79 28 90
10785 Berlin            Fax: +49 30 25 79 28 999

Sitz: Berlin
Amtsgericht Berlin Charlottenburg (HRB 73099)
Geschäftsführer: Ali Paczensky




Mime
View raw message