You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Simon Cooper (JIRA)" <ji...@apache.org> on 2016/12/23 13:23:58 UTC

[jira] [Created] (CURATOR-370) Remove use of MoreExecutors.sameThreadExecutor and update guava version

Simon Cooper created CURATOR-370:
------------------------------------

             Summary: Remove use of MoreExecutors.sameThreadExecutor and update guava version
                 Key: CURATOR-370
                 URL: https://issues.apache.org/jira/browse/CURATOR-370
             Project: Apache Curator
          Issue Type: Improvement
    Affects Versions: 2.11.1, 3.2.1
            Reporter: Simon Cooper
            Assignee: Jordan Zimmerman


{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)