1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-02-22 16:25:25 +02:00

Ложное срабатывание проверки типа #1048

This commit is contained in:
Artem Iliukhin 2024-02-22 01:55:27 +03:00
parent 1d3e0b5a6c
commit dc407d2806

View File

@ -104,7 +104,8 @@ public abstract class AbstractDocCommentTypeCheck
{
String text = ((TextPart)part).getText();
if (text != null && (".".equals(text.trim()) //$NON-NLS-1$
|| IBslCommentToken.TYPE_SECTION_DASH.equals(text.trim()) && lastLine != part.getLineNumber()))
|| IBslCommentToken.TYPE_SECTION_DASH.equals(text.trim()) && lastLine != part.getLineNumber())
|| text != null && text.startsWith("@skip-check")) //$NON-NLS-1$
{
return true;
}