From 25f25430c340d5bdd107a6098e684880cec54926 Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 24 May 2021 14:44:56 +0200 Subject: issue #8541 Javadoc: external links to classes in java.lang are not resolved A `::` at the end is not necessary, intenmtion was to use make explicitly, by ".*` that all subpackages were used but that is not necessary. --- src/scanner.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scanner.l b/src/scanner.l index b5a9c05..f3d0bc3 100644 --- a/src/scanner.l +++ b/src/scanner.l @@ -7563,8 +7563,8 @@ static void parseMain(yyscan_t yyscanner, } else if ( yyextra->insideJava ) { - QCString scope="java.lang.*"; - yyextra->current->name=removeRedundantWhiteSpace(substitute(scope.left(scope.length()-1),".","::")); + QCString scope="java.lang"; + yyextra->current->name=removeRedundantWhiteSpace(substitute(scope,".","::")); yyextra->current->fileName = yyextra->yyFileName; yyextra->current->section=Entry::USINGDIR_SEC; yyextra->current_root->moveToSubEntryAndRefresh(yyextra->current); -- cgit v0.12