Skip to content

Commit

Permalink
indexing changes for #1046
Browse files Browse the repository at this point in the history
  • Loading branch information
djtfmartin committed Sep 11, 2024
1 parent d1401ba commit 40dd0ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,7 @@ public static Classification convertToClassification(TaxonRecord taxon) {
org.gbif.pipelines.io.avro.RankedName::getRank,
org.gbif.pipelines.io.avro.RankedName::getKey,
(existing, replacement) -> existing,
LinkedHashMap::new
)))
LinkedHashMap::new)))
.setTaxonKeys(JsonConverter.convertTaxonKey(taxon));

JsonConverter.convertRankedName(taxon.getUsage()).ifPresent(classificationBuilder::setUsage);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.gbif.kvs.species.*;
import org.gbif.kvs.species.NameUsageMatchRequest;
import org.gbif.pipelines.core.converters.JsonConverter;
import org.gbif.pipelines.io.avro.Diagnostic;
import org.gbif.pipelines.io.avro.MatchType;
import org.gbif.pipelines.io.avro.RankedName;
Expand Down

0 comments on commit 40dd0ab

Please sign in to comment.