1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-03-04 16:15:57 +02:00

Merge pull request #990 from 1C-Company/bugfix/948-export-return-ref-link

This commit is contained in:
Dmitriy Marmyshev 2022-02-16 21:49:24 +03:00 committed by GitHub
commit eba3953b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,8 @@ public class ExportFunctionReturnSectionCheck
}
if (docComment == null || docComment.getReturnSection() == null
|| docComment.getReturnSection().getReturnTypes().isEmpty())
|| isTypeEmptyAndNoLink(docComment.getReturnSection().getReturnTypes(),
docComment.getReturnSection().getDescription()))
{
resultAceptor.addIssue(Messages.ExportFunctionReturnSectionCheck_Export_function_return_section_required,
root.getMethod(), NAMED_ELEMENT__NAME);