[
https://issues.apache.org/jira/browse/IGNITE-7800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Shtykh resolved IGNITE-7800.
----------------------------------
Resolution: Fixed
Fixed, thanks.
> 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)