Skip to content

Commit

Permalink
Upgrade Guava to 25.1-jre
Browse files Browse the repository at this point in the history
  • Loading branch information
leventov committed Jun 22, 2018
1 parent 8cdac4f commit 53356ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ allprojects {
group = "com.complexible.airline"
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
version = "0.7.5"
version = "0.7.6"

repositories {
mavenCentral()
Expand All @@ -26,7 +26,7 @@ ext {

dependencies {
compile 'javax.inject:javax.inject:1'
compile "com.google.guava:guava:18.0"
compile "com.google.guava:guava:25.1-jre"
compile 'com.google.code.findbugs:jsr305:3.0.0'

testCompile 'org.testng:testng:6.0.1'
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/airlift/command/GlobalUsageSummary.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.airlift.command;

import com.google.common.base.Function;
import com.google.common.base.Objects;
import com.google.common.base.MoreObjects;
import com.google.common.base.Preconditions;
import com.google.common.collect.Collections2;
import com.google.common.collect.ImmutableList;
Expand Down Expand Up @@ -101,7 +101,7 @@ public String apply(OptionMetadata option)
{
public Iterable<String> apply(Entry<String, String> entry)
{
return ImmutableList.of(entry.getKey(), Objects.firstNonNull(entry.getValue(), ""));
return ImmutableList.of(entry.getKey(), MoreObjects.firstNonNull(entry.getValue(), ""));
}
}));
out.newline();
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/airlift/command/GalaxyCommandLineParser.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.airlift.command;

import com.google.common.base.Joiner;
import com.google.common.base.Objects;
import com.google.common.base.MoreObjects;
import com.google.common.collect.Lists;
import io.airlift.command.Cli.CliBuilder;
import org.testng.annotations.Test;
Expand Down Expand Up @@ -91,7 +91,7 @@ public static class GlobalOptions
public boolean debug = false;

@Option(type = GLOBAL, name = "--coordinator", description = "Galaxy coordinator host (overrides GALAXY_COORDINATOR)")
public String coordinator = Objects.firstNonNull(System.getenv("GALAXY_COORDINATOR"), "http://localhost:64000");
public String coordinator = MoreObjects.firstNonNull(System.getenv("GALAXY_COORDINATOR"), "http://localhost:64000");

@Override
public String toString()
Expand Down

0 comments on commit 53356ac

Please sign in to comment.