You've already forked v8-code-style
mirror of
https://github.com/1C-Company/v8-code-style.git
synced 2025-07-14 19:54:14 +02:00
Ложное срабатывание проверки типа #1048
This commit is contained in:
@ -104,7 +104,8 @@ public abstract class AbstractDocCommentTypeCheck
|
|||||||
{
|
{
|
||||||
String text = ((TextPart)part).getText();
|
String text = ((TextPart)part).getText();
|
||||||
if (text != null && (".".equals(text.trim()) //$NON-NLS-1$
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user