Revision 56848
Added by Claudio Atzori over 5 years ago
modules/dnet-openaireplus-mapping-utils/trunk/src/main/java/eu/dnetlib/data/transform/OafEntityMerger.java | ||
---|---|---|
15 | 15 |
import eu.dnetlib.data.proto.KindProtos.Kind; |
16 | 16 |
import eu.dnetlib.data.proto.OafProtos.Oaf; |
17 | 17 |
import eu.dnetlib.data.proto.OafProtos.OafEntity; |
18 |
import eu.dnetlib.data.proto.OrganizationProtos; |
|
18 |
import eu.dnetlib.data.proto.OrganizationProtos.Organization;
|
|
19 | 19 |
import eu.dnetlib.data.proto.ResultProtos.Result; |
20 | 20 |
import eu.dnetlib.data.proto.ResultProtos.Result.Instance; |
21 | 21 |
import eu.dnetlib.data.proto.SpecialTrustProtos.SpecialTrust; |
22 | 22 |
import eu.dnetlib.data.proto.TypeProtos.Type; |
23 |
import eu.dnetlib.miscutils.datetime.DateUtils; |
|
24 | 23 |
import eu.dnetlib.pace.config.DedupConfig; |
25 | 24 |
import org.apache.commons.lang.StringUtils; |
26 | 25 |
|
27 |
import eu.dnetlib.data.proto.OrganizationProtos.Organization; |
|
26 |
import java.util.Collection; |
|
27 |
import java.util.List; |
|
28 |
import java.util.Map; |
|
29 |
import java.util.Set; |
|
28 | 30 |
|
29 |
import java.time.Year; |
|
30 |
import java.util.*; |
|
31 |
import java.util.stream.Collectors; |
|
32 |
import java.util.stream.Stream; |
|
31 |
import static java.util.stream.Collectors.toMap; |
|
33 | 32 |
|
34 |
import static java.util.Map.Entry.*; |
|
35 |
import static java.util.stream.Collectors.*; |
|
36 |
import static org.apache.commons.lang.StringUtils.*; |
|
37 |
import static java.util.Collections.*; |
|
38 |
|
|
39 | 33 |
public class OafEntityMerger { |
40 | 34 |
|
41 | 35 |
private static final String DEDUP_CLASSID = "sysimport:dedup"; |
Also available in: Unified diff
cleanup unused imports