Skip to content

Commit

Permalink
Corrige une NPE lorsqu'on va chercher les opérations DELETE
Browse files Browse the repository at this point in the history
Issue #182708

Change-Id: I666c327e2cfb45018bc7387263b76a30008666e1
  • Loading branch information
hboAtol committed Jul 12, 2023
1 parent 163b395 commit 5523309
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ public String diff(String dateString) throws ResponseException {
.collect(Collectors.toMap(HydrantAccessibilite::getNumero, Function.identity()));
List<String> listeDiff = new ArrayList<>();
for (PeiDiffModel p : diffs) {
if (mapAccessibilite.get(p.getNumero()).isAccessible()
if (mapAccessibilite.get(p.getNumero()) != null && mapAccessibilite.get(p.getNumero()).isAccessible()
|| ("CARACTERISTIQUES".equals(p.getType()) && "DELETE".equals(p.getOperation()))) {

try {
Expand Down

0 comments on commit 5523309

Please sign in to comment.