[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-643) Misleading JavaDoc for SPI Container Engine

Jean-Frederic Clere (Jira) issues at jboss.org
Tue Mar 31 05:38:27 EDT 2020


     [ https://issues.redhat.com/browse/MODCLUSTER-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Frederic Clere closed MODCLUSTER-643.
------------------------------------------


> Misleading JavaDoc for SPI Container Engine
> -------------------------------------------
>
>                 Key: MODCLUSTER-643
>                 URL: https://issues.redhat.com/browse/MODCLUSTER-643
>             Project: mod_cluster
>          Issue Type: Bug
>          Components: Core & Container Integration (Java)
>    Affects Versions: 1.3.8.Final, 1.4.0.Alpha1
>            Reporter: Michal Herda
>            Assignee: Radoslav Husar
>            Priority: Trivial
>             Fix For: 2.0.0.Alpha1
>
>
> https://github.com/modcluster/mod_cluster/blob/7e4dadf03df78f05bbf06af6985ccf70d439f06a/container/spi/src/main/java/org/jboss/modcluster/container/Engine.java#L60
> {code}
>     /**
>      * The connector to which this engine uses to communicate with its proxies.
>      *
>      * @return the connector used by mod_cluster
>      */
>     Connector getProxyConnector();
>     /**
>      * The connector to which this engine uses to communicate with its proxies.
>      *
>      * @return the connector used by mod_cluster
>      */
>     Iterable<Connector> getConnectors();
> {code}
> From what I see and understand from the code, the javadoc for getConnectors() does not reflect its actual purpose - it seems like a copypaste from getProxyConnector(). I am not competent enough to write a proper JavaDoc myself through - please support me with it.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the mod_cluster-issues mailing list