Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Commit

Permalink
Fixed checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-hb committed Mar 28, 2020
1 parent 7ef280d commit de681fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public static String getCookie(DataFetchingEnvironment environment, String key)
if (cookiesList.isEmpty()) return null;

for (String cookies : cookiesList) {
for (String cookie : cookies.split(";")) {
cookie = cookie.trim();
for (String c : cookies.split(";")) {
String cookie = c.trim();

if (cookie.startsWith(key) && cookie.contains("="))
return cookie.split("=")[1];
Expand Down

0 comments on commit de681fb

Please sign in to comment.