Merge pull request #23672 from mshabunin:fix-javadoc17

pull/23677/head
Maksim Shabunin 2 years ago committed by GitHub
parent d4861bfd1f
commit 537060d96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/java/generator/gen_java.py

@ -1353,7 +1353,7 @@ def sanitize_java_documentation_string(doc, type):
indexDiff += 1
lines[index + indexDiff] = lines[index + indexDiff][0:i] + lines[index + indexDiff][i + 1:]
else:
if listInd and (not line or line == "*" or line.startswith("@note")):
if listInd and (not line or line == "*" or line.strip().startswith("@note") or line.strip().startswith("@param")):
lines.insert(index + indexDiff, " "*len(listInd) + "</li>")
indexDiff += 1
del listInd[-1]

Loading…
Cancel
Save