Commit 2cbffc32 authored by Stephane Nicoll's avatar Stephane Nicoll

Remove import on Guava

Closes gh-10085
parent 4990b52b
......@@ -24,8 +24,7 @@ import java.util.Map;
import java.util.Objects;
import java.util.concurrent.Callable;
import java.util.stream.Stream;
import com.google.common.collect.Streams;
import java.util.stream.StreamSupport;
import org.springframework.boot.context.properties.source.ConfigurationPropertySources;
import org.springframework.context.ApplicationContext;
......@@ -179,7 +178,7 @@ public final class TestPropertyValues {
if (pairs == null) {
return empty();
}
return of(Streams.stream(pairs));
return of(StreamSupport.stream(pairs.spliterator(), false));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment