mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Eliminate assumption that item 1 will be a String
This commit is contained in:
parent
2eaa99bb3a
commit
1bc879c30c
@ -337,7 +337,7 @@ public class ImapResponseParser {
|
||||
}
|
||||
|
||||
public String getAlertText() {
|
||||
if (size() > 1 && "[ALERT]".equals(getString(1))) {
|
||||
if (size() > 1 && "[ALERT]".equals(get(1))) {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for (int i = 2, count = size(); i < count; i++) {
|
||||
sb.append(get(i).toString());
|
||||
|
Loading…
Reference in New Issue
Block a user