You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2018/05/07 11:52:00 UTC
[jira] [Updated] (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 ]
Vladimir Ozerov updated IGNITE-7800:
------------------------------------
Component/s: (was: 2.3)
> 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
> 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)