1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -05:00

Added a null pointer check to make the static analysis component of Eclipse happy

This commit is contained in:
cketti 2011-01-19 00:00:58 +00:00
parent 8279092070
commit 6a9a5f6b1f

View File

@ -508,7 +508,8 @@ public class Utility
}
}
}
if (tagStripped)
// Null pointer check is to make the static analysis component of Eclipse happy.
if (tagStripped && (tag != null))
{
// restore the last tag
lastPrefix -= tag.length();