Remove use of Guava's deprecated toStringHelper
Change-Id: I264afc337a9f325a23f988a6349a74451910e7d0
Showing
5 changed files
with
5 additions
and
5 deletions
... | @@ -15,7 +15,7 @@ import java.util.List; | ... | @@ -15,7 +15,7 @@ import java.util.List; |
15 | import java.util.Map; | 15 | import java.util.Map; |
16 | import java.util.Set; | 16 | import java.util.Set; |
17 | 17 | ||
18 | -import static com.google.common.base.Objects.toStringHelper; | 18 | +import static com.google.common.base.MoreObjects.toStringHelper; |
19 | 19 | ||
20 | /** | 20 | /** |
21 | * Produces a package & source catalogue. | 21 | * Produces a package & source catalogue. | ... | ... |
... | @@ -2,7 +2,7 @@ package org.onlab.jdvue; | ... | @@ -2,7 +2,7 @@ package org.onlab.jdvue; |
2 | 2 | ||
3 | import java.util.Objects; | 3 | import java.util.Objects; |
4 | 4 | ||
5 | -import static com.google.common.base.Objects.toStringHelper; | 5 | +import static com.google.common.base.MoreObjects.toStringHelper; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Abstraction of a dependency segment. | 8 | * Abstraction of a dependency segment. | ... | ... |
... | @@ -5,7 +5,7 @@ import java.util.Collections; | ... | @@ -5,7 +5,7 @@ import java.util.Collections; |
5 | import java.util.List; | 5 | import java.util.List; |
6 | import java.util.Objects; | 6 | import java.util.Objects; |
7 | 7 | ||
8 | -import static com.google.common.base.Objects.toStringHelper; | 8 | +import static com.google.common.base.MoreObjects.toStringHelper; |
9 | 9 | ||
10 | /** | 10 | /** |
11 | * Simple representation of a Java package dependency cycle. | 11 | * Simple representation of a Java package dependency cycle. | ... | ... |
... | @@ -4,7 +4,7 @@ import java.util.Collections; | ... | @@ -4,7 +4,7 @@ import java.util.Collections; |
4 | import java.util.HashSet; | 4 | import java.util.HashSet; |
5 | import java.util.Set; | 5 | import java.util.Set; |
6 | 6 | ||
7 | -import static com.google.common.base.Objects.toStringHelper; | 7 | +import static com.google.common.base.MoreObjects.toStringHelper; |
8 | 8 | ||
9 | /** | 9 | /** |
10 | * Simple abstraction of a Java package for the purpose of tracking | 10 | * Simple abstraction of a Java package for the purpose of tracking | ... | ... |
... | @@ -2,7 +2,7 @@ package org.onlab.jdvue; | ... | @@ -2,7 +2,7 @@ package org.onlab.jdvue; |
2 | 2 | ||
3 | import java.util.*; | 3 | import java.util.*; |
4 | 4 | ||
5 | -import static com.google.common.base.Objects.toStringHelper; | 5 | +import static com.google.common.base.MoreObjects.toStringHelper; |
6 | 6 | ||
7 | /** | 7 | /** |
8 | * Simple abstraction of a Java source file for the purpose of tracking | 8 | * Simple abstraction of a Java source file for the purpose of tracking | ... | ... |
-
Please register or login to post a comment