diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-25 16:03:36 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-25 16:03:36 +0000 |
| commit | 5b2235620d33776d0a1dcae8f9e68693d9390be3 (patch) | |
| tree | de929f0030bc2a9371e3426115d72e7bea13c8ea /src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java | |
| parent | 39cbfae7358faaff8f876641869492c366ce1218 (diff) | |
Prefer Java stdlib classes to Guava
Diffstat (limited to 'src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java')
| -rw-r--r-- | src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java index 8538534..470002e 100644 --- a/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java +++ b/src/test/java/org/zwobble/mammoth/tests/DeepReflectionMatcher.java @@ -1,6 +1,5 @@ package org.zwobble.mammoth.tests; -import com.google.common.base.Joiner; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import com.google.common.collect.Sets; @@ -227,7 +226,7 @@ public class DeepReflectionMatcher<T> extends TypeSafeDiagnosingMatcher<T> { } private static String indentedList(Iterable<String> values) { - return Joiner.on(",").join(transform(values, value -> "\n " + indent(value))); + return String.join(",", transform(values, value -> "\n " + indent(value))); } private static String indent(String value) { |
