master #59

Closed
claudio.atzori wants to merge 3221 commits from master into stable_ids
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 1361c9eb0c - Show all commits

View File

@ -243,7 +243,7 @@ public class Result extends OafEntity implements Serializable {
Result r = (Result) e;
// TODO consider merging also Measures
measures = mergeLists(measures, r.getMeasures());
instance = mergeLists(instance, r.getInstance());

View File

@ -126,7 +126,7 @@ public class SparkAtomicActionScoreJob implements Serializable {
}, Encoders.bean(BipScore.class))
.groupByKey((MapFunction<BipScore, String>) value -> value.getId(), Encoders.STRING())
.mapGroups((MapGroupsFunction<String, BipScore, I>) (k, it) -> {
Result ret = inputClazz.newInstance();
Result ret = new Result();
BipScore first = it.next();
ret.setId(first.getId());