code formatting

This commit is contained in:
Claudio Atzori 2021-04-27 10:09:31 +02:00
parent faa8f6f4e2
commit ef4bfd82e2
1 changed files with 11 additions and 10 deletions

View File

@ -139,8 +139,9 @@ public class SparkPropagateRelation extends AbstractSparkAction {
return relSourceTarget
.filter(
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>)
r -> r._1()._1() != null || r._2() != null)
(FilterFunction<Tuple2<Tuple2<Tuple3<String, Relation, String>, Tuple2<String, String>>, Tuple2<String, String>>>) r -> r
._1()
._1() != null || r._2() != null)
.map(mapRel, Encoders.bean(Relation.class))
.distinct();
}