You've already forked v8-code-style
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:
+12
-5
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user