1
0
Fork 0
This commit is contained in:
Claudio Atzori 2021-11-18 17:10:46 +01:00
parent 793b5a8e5f
commit bb5dca7979
1 changed files with 0 additions and 9 deletions

View File

@ -43,15 +43,6 @@ public class ResultMapper implements Serializable {
try { try {
addTypeSpecificInformation(out, input, ort); addTypeSpecificInformation(out, input, ort);
// Optional<List<Measure>> mes = Optional.ofNullable(input.getMeasures());
// if (mes.isPresent()) {
// List<KeyValue> measure = new ArrayList<>();
// mes
// .get()
// .forEach(
// m -> m.getUnit().forEach(u -> measure.add(KeyValue.newInstance(m.getId(), u.getValue()))));
// out.setMeasures(measure);
// }
Optional Optional
.ofNullable(input.getAuthor()) .ofNullable(input.getAuthor())