Skip to content

Commit

Permalink
Issue #6654 - Fix NPEs from bad Servlet API use
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Aug 23, 2021
1 parent 401f195 commit 32e6698
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -98,6 +98,10 @@ public List<HttpCookie> getCookies()
.map(c -> new HttpCookie(c.getName(), c.getValue()))
.collect(Collectors.toList());
}
else
{
cookies = List.of();
}
}

return cookies;
Expand Down

0 comments on commit 32e6698

Please sign in to comment.