mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Added a null pointer check to make the static analysis component of Eclipse happy
This commit is contained in:
parent
8279092070
commit
6a9a5f6b1f
@ -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
|
// restore the last tag
|
||||||
lastPrefix -= tag.length();
|
lastPrefix -= tag.length();
|
||||||
|
Loading…
Reference in New Issue
Block a user