Skip to content

Commit

Permalink
Merge pull request #22 from abes-esr/fix_accescbs
Browse files Browse the repository at this point in the history
Maj accescbs
  • Loading branch information
EryneKL authored Nov 10, 2023
2 parents 02cf609 + e0c273d commit 461e90e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
<dependency>
<groupId>fr.abes.api-communes</groupId>
<artifactId>AccesCbs</artifactId>
<version>2.5.38</version>
<version>2.5.39</version>
<scope>compile</scope>
</dependency>

Expand Down
5 changes: 3 additions & 2 deletions src/main/java/fr/abes/kafkatosudoc/utils/NoticeMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Objects;
Expand Down Expand Up @@ -115,7 +116,7 @@ public NoticeConcrete convert(MappingContext<LigneKbartConnect, NoticeConcrete>
} else {
noticeBiblio.addZone("859", "$u", kbart.getTITLEURL().toString(), new char[]{'4', '#'});
}
return new NoticeConcrete(noticeBiblio, null, null);
return new NoticeConcrete(noticeBiblio);
}
};
mapper.addConverter(myConverter);
Expand Down Expand Up @@ -282,7 +283,7 @@ public NoticeConcrete convert(MappingContext<KbartAndImprimeDto, NoticeConcrete>
else
noticeElec.addZone("859", "$u", kbart.getTitleUrl().toString(), new char[]{'4', '#'});

return new NoticeConcrete(noticeElec, null, null);
return new NoticeConcrete(noticeElec);
}
};
mapper.addConverter(myConverter);
Expand Down

0 comments on commit 461e90e

Please sign in to comment.