Skip to content

Commit

Permalink
Ложное срабатывание проверки типа #1048
Browse files Browse the repository at this point in the history
  • Loading branch information
iArtemv committed Feb 21, 2024
1 parent 1d3e0b5 commit dc407d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ protected boolean isCanSkipEmptyTextPart(IDescriptionPart part, int lastLine)
{
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;
}
Expand Down

0 comments on commit dc407d2

Please sign in to comment.