Fix compile errors.

This commit is contained in:
Kris De Volder
2017-10-23 12:05:19 -07:00
parent 309b6124b6
commit b30334f1ca
2 changed files with 2 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ public class ClassReferenceProvider extends CachingValueProvider {
return javaProject.getClasspath()
.fuzzySearchTypes(query, type -> allSubclasses.contains(type))
.collectSortedList((o1, o2) -> o2.getT2().compareTo(o1.getT2()))
.flatMap(l -> Flux.fromIterable(l))
.flatMapIterable(l -> l)
.map(t -> StsValueHint.create(t.getT1()));
}
}

View File

@@ -45,7 +45,7 @@ public class LoggerNameProvider extends CachingValueProvider {
.map(t -> Tuples.of(StsValueHint.create(t.getT1()), t.getT2()))
)
.collectSortedList((o1, o2) -> o2.getT2().compareTo(o1.getT2()))
.flatMap(l -> Flux.fromIterable(l))
.flatMapIterable(l -> l)
.map(t -> t.getT1());
}