remove from 'No comments found.' from apiNote tag

This commit is contained in:
oppofind 2019-10-18 09:35:02 +08:00
parent 5bb5f11fec
commit 199f6f3beb
1 changed files with 5 additions and 1 deletions

View File

@ -316,7 +316,11 @@ public class DocUtil {
if (map != null && map.size() > 0) {
Map.Entry<String, String> entry = map.entrySet().iterator().next();
if (entry != null) {
if(DocGlobalConstants.NO_COMMENTS_FOUND.equals(entry.getValue())){
value = entry.getKey();
}else{
value = entry.getKey() + entry.getValue();
}
value = value.replace("\r\n", "<br/>");
value = value.replace("\r", "<br/>");
}