igniterealtime/Smack — pull request #26 by jhj (2014-12-10 08:25:31+00:00)
Title: empty string conditionText should be treated similar to null

ejabberd sends the following stanza when a user is kicked off from reaching max simultaneous connections:

```xml

Replaced by new connection

```

StreamError does not parse this correctly due to conditionText == "" and throws IllegalArgumentException "'conflict' can not contain a condition text". Expected behavior is to treat empty string as no conditionText, or pass in null to StreamError's constructor, not "".

Tested on android sdk v21.