Re: Bug in Text.append(String)
Thomas Scheffler <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Organization | Friedrich-Schiller-Universität Jena |
| Message-ID | <[email protected]> |
Am 29.09.2011 09:30, schrieb Jack Punt:
> This does the wrong thing when str = EMPTY_STRING
> (dubious: should be str.equals("") since new String() != "")
> but the real bug is that value=str; clears the old value instead of
> appending...
Hi,
what about (str.length() == 0) ?
regards
Thomas
_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]