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:
commit
77a5e3dab3
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user