[
https://issues.apache.org/jira/browse/CURATOR-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045780#comment-16045780
]
ASF GitHub Bot commented on CURATOR-417:
----------------------------------------
GitHub user ajayk opened a pull request:
https://github.com/apache/curator/pull/224
CURATOR-417: Update Guava to 22-android version ( supports jdk 1.7)
* Update pom.xml to use latest version of guava
https://github.com/google/guava
Guava comes in two flavors.
The main flavor requires JDK 1.8 or higher.
If you need support for JDK 1.7 or Android, use the Android flavor. You can
find the Android Guava source in the android directory.
* Move from Objects.firstNotNull ( removed from guava ) to
MoreObjects.firstNotNull
* Move from MoreExecutors.sameThreadExecutor() ( removed from guava in
version 19) to MoreExecutors. directExecutor()
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ajayk/curator CURATOR-417
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/224.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #224
----
commit 819397fe87e87db9785998079a950c2ddfb516d1
Author: ajk <[email protected]>
Date: 2017-06-11T02:05:00Z
CURATOR-417: Update Guava to 22-android version ( supports jdk 1.7) and
corresponding changes to classes
----
> Update to latest Guava dependecies
> ----------------------------------
>
> Key: CURATOR-417
> URL: https://issues.apache.org/jira/browse/CURATOR-417
> Project: Apache Curator
> Issue Type: Improvement
> Components: Client, General, Recipes, Tests
> Affects Versions: 3.3.0, 2.12.0
> Reporter: Ajay
> Priority: Minor
>
> guava dependency version update from 16 to 22-android
> Moving to 22-android as curator still builds from jdk 1.7
> From the Google Guava Docs ,
> If you need support for JDK 1.7 or Android, use the Android flavor. You can
> find the Android Guava source in the android directory.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)