1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2026-05-21 02:19:05 +02:00

Merge pull request #1335 from VAGoncharov/feature/1334-md-object-attribute-comment-not-exist-bug

#1334 Исправление ошибки в проверке md-object-attribute-comment-not-e…
This commit is contained in:
Artem Iliukhin
2023-08-14 00:28:48 -07:00
committed by GitHub
@@ -134,6 +134,12 @@ public class MdObjectAttributeCommentNotExistCheck
}
}
if (!monitor.isCanceled() && !attributeExist)
{
resultAcceptor.addIssue(
Messages.MdObjectAttributeCommentNotExist_Md_Object_attribute_Comment_does_not_exist, object);
}
}
else if (object instanceof Catalog && checkCatalogs)
{
@@ -153,12 +159,12 @@ public class MdObjectAttributeCommentNotExistCheck
break;
}
}
}
if (!monitor.isCanceled() && !attributeExist)
{
resultAcceptor
.addIssue(Messages.MdObjectAttributeCommentNotExist_Md_Object_attribute_Comment_does_not_exist, object);
if (!monitor.isCanceled() && !attributeExist)
{
resultAcceptor.addIssue(
Messages.MdObjectAttributeCommentNotExist_Md_Object_attribute_Comment_does_not_exist, object);
}
}
}
@@ -179,4 +185,5 @@ public class MdObjectAttributeCommentNotExistCheck
return attributeNames;
}
}