diff options
author | Alexander Kurtakov | 2017-02-14 13:26:06 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-02-14 13:58:52 +0000 |
commit | 113fb8dc4a24466e082e62c36409fff671d1f3f0 (patch) | |
tree | 4982f2e733ea2b45429dbe75b125336ab9bc31da | |
parent | 0a5abbe40af800672a990fe4af0f5d4d8d2e2d32 (diff) | |
download | org.eclipse.linuxtools-113fb8dc4a24466e082e62c36409fff671d1f3f0.tar.gz org.eclipse.linuxtools-113fb8dc4a24466e082e62c36409fff671d1f3f0.tar.xz org.eclipse.linuxtools-113fb8dc4a24466e082e62c36409fff671d1f3f0.zip |
docker: Move to non-deprecated guava calls.
Objects.toStringHelper is deprecated and scheduled for removal in June
2016 so it's quite likely to break on us next time guava is updated in
Orbit.
Change-Id: I39a21dd0a3b27c3f99923ea531aaaf558e791011
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/91046
Tested-by: Hudson CI
-rw-r--r-- | containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/ImageSearchResultV1.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/ImageSearchResultV1.java b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/ImageSearchResultV1.java index 08a913bb87..5422b435e4 100644 --- a/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/ImageSearchResultV1.java +++ b/containers/org.eclipse.linuxtools.docker.core/src/org/eclipse/linuxtools/internal/docker/core/ImageSearchResultV1.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2016 Red Hat. + * Copyright (c) 2016, 2017 Red Hat. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -18,7 +18,7 @@ import java.util.List; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonProperty; -import com.google.common.base.Objects; +import com.google.common.base.MoreObjects; import com.spotify.docker.client.messages.ImageSearchResult; /** @@ -99,7 +99,7 @@ public class ImageSearchResultV1 { @Override public String toString() { - return Objects.toStringHelper(this) + return MoreObjects.toStringHelper(this) .add("num_pages", getTotalPages()) //$NON-NLS-1$ .add("num_results", getTotalResults()) //$NON-NLS-1$ .add("page_size", getPageSize()) //$NON-NLS-1$ |