Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-370

Replace use of MoreExecutors.sameThreadExecutor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.2.1, 2.11.1
    • None
    • None

    Description

      ListenerContainer has a reference to MoreExecutors.sameThreadExecutor in guava. This method has been deprecated since guava version 18.0, and is being removed in version 21.0. This should be changed to use MoreExecutors.directExecutor instead.

      The use of this method means that all projects using Curator can't use a guava version past 20.0, as the method no longer exists in 21, so I would say this is quite high priority to fix, especially since 21.0 is the first Java 8 version of guava.

      Attachments

        Issue Links

          Activity

            People

              randgalt Jordan Zimmerman
              thecoop1984 Simon Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: