varIn/varOut fixes
This commit is contained in:
parent
39709ca589
commit
9b4f7800a3
@ -271,7 +271,7 @@ class MarkdownWriter {
|
|||||||
matcher = this.namedCommentPattern.matcher(tagComment);
|
matcher = this.namedCommentPattern.matcher(tagComment);
|
||||||
if (matcher.find())
|
if (matcher.find())
|
||||||
varInComments.put(matcher.group(1), this.sanitize(matcher.group(2).trim()));
|
varInComments.put(matcher.group(1), this.sanitize(matcher.group(2).trim()));
|
||||||
else this.logger.warn("A @field for the {} bean and {} method is improperly formatted", logId);
|
else this.logger.warn("A @varIn for the {} bean and {} method is improperly formatted", logId);
|
||||||
return;
|
return;
|
||||||
case "varOut":
|
case "varOut":
|
||||||
if (varOutComments == null)
|
if (varOutComments == null)
|
||||||
@ -280,7 +280,7 @@ class MarkdownWriter {
|
|||||||
matcher = this.namedCommentPattern.matcher(tagComment);
|
matcher = this.namedCommentPattern.matcher(tagComment);
|
||||||
if (matcher.find())
|
if (matcher.find())
|
||||||
varOutComments.put(matcher.group(1), this.sanitize(matcher.group(2).trim()));
|
varOutComments.put(matcher.group(1), this.sanitize(matcher.group(2).trim()));
|
||||||
else this.logger.warn("A @field for the {} bean and {} method is improperly formatted", logId);
|
else this.logger.warn("A @varOut for the {} bean and {} method is improperly formatted", logId);
|
||||||
return;
|
return;
|
||||||
case "throws":
|
case "throws":
|
||||||
if (throwComments == null)
|
if (throwComments == null)
|
||||||
@ -366,7 +366,7 @@ class MarkdownWriter {
|
|||||||
varModel.setName(varComment.getKey());
|
varModel.setName(varComment.getKey());
|
||||||
varModel.setComment(varComment.getValue());
|
varModel.setComment(varComment.getValue());
|
||||||
|
|
||||||
sigModel.getVariablesIn().put(varModel.getName(), varModel);
|
sigModel.getVariablesOut().put(varModel.getName(), varModel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user