Closed jhameier closed 4 years ago
Thank you for tracking this down and reporting the issue.
That @see
tag with the dot at the end is malformed. Here's the specification for a valid @see
value: https://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#see
Even though it's malformed, the reader probably shouldn't throw an exception. Perhaps the scribe should log a warning for invalid tags, and either omit the tag or treat it like an OtherJavadoc
.
Fixed by dropping malformed tags.
So I found that using an @see tag will fail to match the the linkPattern in the LinkParser class if it contains a period at the end.
This may not necessarily be a bug since I don't believe that a comment type tag should end in a period, though the documentation is somewhat sparse and other tag types do not fail but I'm pointing this out for good measure.