Clone
Marc Philipp
committed
on 12 Sep 18
Update Guava to 26.0
- Replace `Files.readLines()` with `Files.asCharSource().readLines()`
- Replace `Files.write()` with `Files.asCharSin… Show more
Update Guava to 26.0

- Replace `Files.readLines()` with `Files.asCharSource().readLines()`

- Replace `Files.write()` with `Files.asCharSink().write()`

- Change `Objects.toStringHelper()` to `MoreObjects.toStringHelper()`

- Change `Iterators.emptyIterator()` to `Collections.emptyIterator()`

- Use `MoreExecutors.directExecutor()` with `Futures.addCallback`

- Replace `CharMatcher.JAVA_UPPER_CASE`/`JAVA_ISO_CONTROL` with

  `CharMatcher.javaUpperCase()`/`CharMatcher.javaIsoControl()`

- Replace `new SimpleTimeLimiter()` with `SimpleTimeLimiter.create()`

- Update `DistributionIntegrationSpec` because Guava requires 4

  additional downstream dependencies:

   * org.checkerframework:checker-compat-qual

   * com.google.errorprone:error_prone_annotations

   * com.google.j2objc:j2objc-annotations

   * org.codehaus.mojo:animal-sniffer-annotations

Show less

green-master + 360 more