jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William L Thomson Jr <notificati...@github.com>
Subject Re: [jclouds/jclouds] core: Fix compile issue under Java 8+ (#1180)
Date Fri, 16 Feb 2018 08:59:15 GMT
Added patches for compute. To use Guava 22 you will need to switch from ```getHostText``` to
```getHost```. I can make that change but its no going back. It is deprecated in [guava 20](https://github.com/google/guava/blob/v20.0/guava/src/com/google/common/net/HostAndPort.java#L83)
and [guava 21 ](https://github.com/google/guava/blob/v21.0/guava/src/com/google/common/net/HostAndPort.java#L92),
but by [guava 22 getHostText is gone](https://github.com/google/guava/blob/v22.0/guava/src/com/google/common/net/HostAndPort.java).
```getHost``` is not in [guava <= 19](https://github.com/google/guava/blob/v19.0/guava/src/com/google/common/net/HostAndPort.java#L84).
That is guava 20+

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1180#issuecomment-366178473
Mime
View raw message