Hi Dennis
Yes I think you're right, this is the
right thing to do - though I always feel bad about 'breaking' peoples
code.
I guess once developers get the new
IllegalArgumentException its going to be pretty obvious which line of code is
passing in the offending null string so its pretty easy to wrap an extra if ()
around the code as follows...
String s = ...;
if ( s != null ) {
element.addText( s
);
}
So yes I think we should do
this.
James
|
- [dom4j-dev] valueOf("text()") not getting full v... Doug Hoppes
- Re: [dom4j-dev] valueOf("text()") not getti... James Strachan
- Re: [dom4j-dev] valueOf("text()") not g... Dennis Sosnoski
- Re: [dom4j-dev] valueOf("text()") n... James Strachan
- Re: [dom4j-dev] valueOf("text()"... James Strachan