1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-06-06 02:57:22 +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
commit 77a5e3dab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}