This commit is contained in:
Alexey Kudravtsev
2011-07-20 12:06:25 +04:00
parent e37d2c088c
commit 4dfbc2b789
@@ -43,7 +43,7 @@ public class IdentifierSplitter extends BaseSplitter {
@Nullable
public List<CheckArea> split(@Nullable String text, @NotNull TextRange range) {
if (text == null || range.getLength() < 1) {
if (text == null || range.getLength() < 1 || range.getStartOffset() < 0) {
return null;
}