ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryszard Trojnacki (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-7800) Invalid javadoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK
Date Fri, 23 Feb 2018 14:30:02 GMT
Ryszard Trojnacki created IGNITE-7800:

             Summary: 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

JavaDoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK is:
{quote}_If this system property is set to \{@code false} - no shutdown hook will be set._
but this is incorrect. It should be:
{quote}_If this system property is set to {@code *true*} - no shutdown hook will be set._

Also in code of IgnitionEx.java comment says it should be true, and the same is from if expression.
// Do NOT set it up only if IGNITE_NO_SHUTDOWN_HOOK=TRUE is provided. if (!IgniteSystemProperties.getBoolean(IGNITE_NO_SHUTDOWN_HOOK,
false)) {

This message was sent by Atlassian JIRA

View raw message