groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikko Värri (JIRA) <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8117) groovydoc links to a wrong type
Date Sun, 12 Mar 2017 01:55:04 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15906395#comment-15906395
] 

Mikko Värri commented on GROOVY-8117:
-------------------------------------

I've got a test case and a possible fix at https://github.com/vmj/groovy/tree/bugfix/GROOVY-8117


> groovydoc links to a wrong type
> -------------------------------
>
>                 Key: GROOVY-8117
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8117
>             Project: Groovy
>          Issue Type: Bug
>          Components: GroovyDoc
>    Affects Versions: 2.1.1, 2.4.10
>            Reporter: Mikko Värri
>
> When I generate groovydocs for the following class:
> {code:title=FooAdapter.groovy}
> import api.Foo
> import lib.Foo as FooImpl
> class FooAdapter implements Foo {
>     FooAdapter(FooImpl foo) {}
> }
> {code}
> where some API defines:
> {code:title=api/Foo.java}
> package api;
> public interface Foo {}
> {code}
> and some library defines:
> {code:title=lib/Foo.java}
> package lib;
> public class Foo {}
> {code}
> then in the documentation the implemented interface "Foo" links to {{lib/Foo.html}} instead
of {{api/Foo.html}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message