Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-7800

Invalid javadoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3
    • None
    • None

    Description

      JavaDoc for IgniteSystemProperties.IGNITE_NO_SHUTDOWN_HOOK is:

      If this system property is set to {@code false} - no shutdown hook will be set.

      but this is incorrect. It should be:

      _If this system property is set to

      Unknown macro: {@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)) {
      

      Attachments

        Issue Links

          Activity

            People

              shroman Roman Shtykh
              ryszard.trojnacki Ryszard Trojnacki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: