mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
Fix StringIndexOutOfBoundsException in ConnectionException
This commit is contained in:
parent
aa90cfadc5
commit
6c892fec96
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ public class SmackException extends Exception {
|
|||
sb.append(", ");
|
||||
}
|
||||
// Remove the last whitespace
|
||||
sb.deleteCharAt(sb.length());
|
||||
sb.deleteCharAt(sb.length() - 1);
|
||||
return new ConnectionException(sb.toString(), failedAddresses);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue