[ https://issues.apache.org/jira/browse/JXR-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16266868#comment-16266868 ]
ASF GitHub Bot commented on JXR-100: ------------------------------------ rfscholte commented on a change in pull request #2: [JXR-100] Fix cross reference generation where there are spaces befor.. URL: https://github.com/apache/maven-jxr/pull/2#discussion_r153211196 ########## File path: maven-jxr/src/main/java/org/apache/maven/jxr/JavaCodeTransform.java ########## @@ -676,25 +676,6 @@ public final String xrLine( String line, String packageName, ClassType classType return buff.toString(); } - /** - * Highlight the package in this line. - * - * @param line input line - * @param packageName package name - * @return input line with linked package - */ - public final String xrLine( String line, String packageName ) Review comment: I don't think the removal of this method is part of the issue ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Method declaration: using spaces before or after parenthesis prevents cross > references generation > ------------------------------------------------------------------------------------------------- > > Key: JXR-100 > URL: https://issues.apache.org/jira/browse/JXR-100 > Project: Maven JXR > Issue Type: Bug > Components: jxr > Affects Versions: 2.3 > Reporter: Davide Cavestro > Assignee: Robert Scholte > Attachments: missinglinks.png, my-app.zip > > > Launching JXR on a file containing method declarations with no spaces between > the method name and the parenthesis also generates links to method parameters > types. > Adding a whitespace before or after method declaration prevents link > generation, i.e. I get the method declaration in plain text, with no > clickable reference to _App_ type. > !missinglinks.png! > I've attached the example project as [^my-app.zip]. -- This message was sent by Atlassian JIRA (v6.4.14#64029)