Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Cleanup #24
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavrilov-Ivan committed Aug 17, 2021
1 parent 9e60cb1 commit 2220986
Showing 1 changed file with 2 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -581,33 +581,10 @@ private void setMappingDefinitionImplementationMethod(@Nullable Method mappingDe
}
}

/*private static class FieldAnalysisDetail {
private String name;
private FieldAnalysisType type;
private FieldAnalysisDetail(String name, FieldAnalysisType type) {
this.name = name;
this.type = type;
}
private String getName() {
return name;
}
private FieldAnalysisType getType() {
return type;
}
}
private enum FieldAnalysisType {
ANALYZER,
NORMALIZER
}*/

private static class FieldAnalysisDetailsAggregator {

private Set<String> analyzers = new HashSet<>();
private Set<String> normalizers = new HashSet<>();
private final Set<String> analyzers = new HashSet<>();
private final Set<String> normalizers = new HashSet<>();

private void process(JsonNode json) {
if (json.isObject()) {
Expand Down

0 comments on commit 2220986

Please sign in to comment.