Bump up dependencies. (#27586)

* Bump up dependencies.

* revert sslConfigVersion and sigarLoader.

* only used in tests.

* Bump up dependencies.
This commit is contained in:
tanaka takaya 2019-09-09 21:54:09 +09:00 committed by Arnout Engelen
parent 9a9e21a62b
commit 9aa0e593b0
7 changed files with 41 additions and 42 deletions

View file

@ -144,8 +144,7 @@ public class TwitterStreamQuickstartDocTest extends AbstractJavaTest {
}
public Set<Hashtag> hashtags() {
return Arrays.asList(body.split(" "))
.stream()
return Arrays.asList(body.split(" ")).stream()
.filter(a -> a.startsWith("#"))
.map(a -> new Hashtag(a))
.collect(Collectors.toSet());