mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
java: fix javadoc generation
This commit is contained in:
@@ -769,6 +769,7 @@ class JavaWrapperGenerator(object):
|
||||
inCode = True
|
||||
if "</code>" in line:
|
||||
inCode = False
|
||||
line = line.replace('@result ', '@return ') # @result is valid in Doxygen, but invalid in Javadoc
|
||||
if "@return " in line:
|
||||
returnTag = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user