Skip to content

Commit

Permalink
Merge pull request #73 from abes-esr/develop
Browse files Browse the repository at this point in the history
gestion du cas où la langue du résumé n'est pas précisée (rejet ES ca…
  • Loading branch information
julg authored Dec 11, 2023
2 parents abd0b84 + 813f1b7 commit bb4ac41
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ public TheseMappee(Mets mets, List<Set> oaiSets) {
Iterator<Abstract> abstractIterator = abstracts.iterator();
while (abstractIterator.hasNext()) {
Abstract a = abstractIterator.next();
resumes.put(a.getLang(), a.getContent());
if (!a.getLang().isEmpty())
resumes.put(a.getLang(), a.getContent());
}
} catch (NullPointerException e) {
log.error("PB pour resumes de " + nnt + e.getMessage());
Expand Down

0 comments on commit bb4ac41

Please sign in to comment.