You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Roman Shtykh (JIRA)" <ji...@apache.org> on 2018/03/16 03:15:00 UTC

[jira] [Assigned] (IGNITE-7800) Invalid javadoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK

     [ https://issues.apache.org/jira/browse/IGNITE-7800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shtykh reassigned IGNITE-7800:
------------------------------------

    Assignee: Roman Shtykh

> Invalid javadoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK
> ------------------------------------------------------------------
>
>                 Key: IGNITE-7800
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7800
>             Project: Ignite
>          Issue Type: Bug
>          Components: 2.3
>    Affects Versions: 2.3
>            Reporter: Ryszard Trojnacki
>            Assignee: Roman Shtykh
>            Priority: Trivial
>              Labels: JavaDoc
>
> JavaDoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK is:
> {quote}_If this system property is set to \{@code false} - no shutdown hook will be set._
> {quote}
> but this is incorrect. It should be:
> {quote}_If this system property is set to {@code *true*} - no shutdown hook will be set._
> {quote}
>   
> Also in code of IgnitionEx.java comment says it should be true, and the same is from if expression.
> {code:java}
> // Do NOT set it up only if IGNITE_NO_SHUTDOWN_HOOK=TRUE is provided. if (!IgniteSystemProperties.getBoolean(IGNITE_NO_SHUTDOWN_HOOK, false)) {
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)