1
0
Fork 0

code formatting

This commit is contained in:
Claudio Atzori 2020-09-24 12:16:00 +02:00
parent fb22f4d70b
commit 27df1cea6d
1 changed files with 7 additions and 7 deletions

View File

@ -337,13 +337,13 @@ public class MigrateDbEntitiesApplicationTest {
private <T> T getValueAs(final String name, final List<TypedField> fields) {
return fields
.stream()
.filter(f -> f.getField().equals(name))
.map(TypedField::getValue)
.filter(Objects::nonNull)
.map(o -> (T) o)
.findFirst()
.get();
.stream()
.filter(f -> f.getField().equals(name))
.map(TypedField::getValue)
.filter(Objects::nonNull)
.map(o -> (T) o)
.findFirst()
.get();
}
}