forked from D-Net/dnet-hadoop
cleanup
This commit is contained in:
parent
793b5a8e5f
commit
bb5dca7979
|
@ -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())
|
||||||
|
|
Loading…
Reference in New Issue