Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5875

Remove unnecessary NULL checks in Redis adapter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.34.0
    • 1.36.0
    • None

    Description

      It's minor fix to remove some unnecessary null checks for redis-adapter.
      e.g.

      if (REDIS_CONTAINER != null && REDIS_CONTAINER.isRunning()) {
        REDIS_CONTAINER.stop();
      } 

      however REDIS_CONTAINER is static variable must not be null unless cause exception.

      Attachments

        Issue Links

          Activity

            People

              taoran Ran Tao
              taoran Ran Tao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: