Uploaded image for project: 'Spring Data Redis'
  1. Spring Data Redis
  2. DATAREDIS-1003

RedisConnection should be AutoCloseable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.9 (Lovelace SR9)
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      It has a close() method but does not implement AutoClosable, so cannot be used in a try-with-resources statement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cstrobl Christoph Strobl
              Reporter:
              jamesmhowe James Howe
              Last updater:
              Christoph Strobl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: