[spelling] IJPL-159316 Spelling: make Splitter implementations cancellable

GitOrigin-RevId: cafeb3e02634bb82f5188a8c4653d890aefd15b6
This commit is contained in:
Yuriy Artamonov
2024-07-30 10:13:41 +02:00
committed by intellij-monorepo-bot
parent f27b3080e8
commit ab436d1387

View File

@@ -107,7 +107,7 @@ public abstract class BaseSplitter implements Splitter {
} }
return toCheck; return toCheck;
} }
catch (ProcessCanceledException e) { catch (TooLongBombedMatchingException e) {
return Collections.singletonList(range); return Collections.singletonList(range);
} }
} }