Skip to content

Commit

Permalink
gestion du cas où la langue du résumé n'est pas précisée (rejet ES ca…
Browse files Browse the repository at this point in the history
…r la clé langue est vide)
  • Loading branch information
julg committed Dec 11, 2023
1 parent 6b4245c commit 813f1b7
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 813f1b7

Please sign in to comment.