fix gitee #I1LBKO.

This commit is contained in:
oppofind 2020-06-21 22:28:24 +08:00
parent 2898a80530
commit 29e1f13c57
1 changed files with 3 additions and 0 deletions

View File

@ -280,6 +280,9 @@ public class JavaClassUtil {
StringBuilder result = new StringBuilder();
List<DocletTag> tags = cls.getTags();
for (int i = 0; i < tags.size(); i++) {
if (!tagName.equals(tags.get(i).getName())) {
continue;
}
String value = tags.get(i).getValue();
if (StringUtil.isEmpty(value) && checkComments) {
throw new RuntimeException("ERROR: #" + cls.getName()