File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
src/main/java/com/github/dockerjava Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11package com .github .dockerjava .api .model ;
22
3- import com .google .common .base .Objects ;
3+ import com .google .common .base .MoreObjects ;
44import com .google .common .base .Optional ;
55
66import java .io .Serializable ;
@@ -55,6 +55,6 @@ public static Identifier fromCompoundString(String identifier) {
5555
5656 @ Override
5757 public String toString () {
58- return Objects .toStringHelper (this ).add ("repository" , repository ).add ("tag" , tag ).toString ();
58+ return MoreObjects .toStringHelper (this ).add ("repository" , repository ).add ("tag" , tag ).toString ();
5959 }
6060}
Original file line number Diff line number Diff line change 44import java .net .MalformedURLException ;
55import java .net .URL ;
66
7- import com .google .common .base .Objects ;
7+ import com .google .common .base .MoreObjects ;
88
99/**
1010 * A repository or image name.
@@ -36,7 +36,7 @@ public URL getURL() throws MalformedURLException {
3636
3737 @ Override
3838 public String toString () {
39- return Objects .toStringHelper (this ).add ("name" , name ).toString ();
39+ return MoreObjects .toStringHelper (this ).add ("name" , name ).toString ();
4040 }
4141
4242 public String getPath () {
Original file line number Diff line number Diff line change 1919import com .github .dockerjava .core .util .CompressArchiveUtil ;
2020import com .github .dockerjava .core .util .FilePathUtil ;
2121import com .google .common .base .Function ;
22- import com .google .common .base .Objects ;
22+ import com .google .common .base .MoreObjects ;
2323import com .google .common .base .Optional ;
2424import com .google .common .collect .Collections2 ;
2525
@@ -171,7 +171,7 @@ public void close() throws IOException {
171171
172172 @ Override
173173 public String toString () {
174- return Objects .toStringHelper (this ).add ("ignores" , ignores ).add ("filesToAdd" , filesToAdd ).toString ();
174+ return MoreObjects .toStringHelper (this ).add ("ignores" , ignores ).add ("filesToAdd" , filesToAdd ).toString ();
175175 }
176176
177177 public ScannedResult () throws IOException {
Original file line number Diff line number Diff line change 1212
1313import com .github .dockerjava .api .exception .DockerClientException ;
1414import com .google .common .base .Function ;
15- import com .google .common .base .Objects ;
15+ import com .google .common .base .MoreObjects ;
1616import com .google .common .base .Optional ;
1717import com .google .common .base .Predicate ;
1818import com .google .common .collect .Collections2 ;
@@ -155,7 +155,7 @@ public static Optional<Add> create(String statement) {
155155
156156 @ Override
157157 public String toString () {
158- return Objects .toStringHelper (this ).add ("sources" , sources ).add ("destination" , destination ).toString ();
158+ return MoreObjects .toStringHelper (this ).add ("sources" , sources ).add ("destination" , destination ).toString ();
159159 }
160160 }
161161
@@ -192,7 +192,7 @@ public static Optional<Env> create(String statement) {
192192
193193 @ Override
194194 public String toString () {
195- return Objects .toStringHelper (this ).add ("variable" , variable ).add ("value" , value ).toString ();
195+ return MoreObjects .toStringHelper (this ).add ("variable" , variable ).add ("value" , value ).toString ();
196196 }
197197 }
198198
You can’t perform that action at this time.
0 commit comments