From becee53dbf10426c9832a5e169f6ed0ced6d6b11 Mon Sep 17 00:00:00 2001 From: Vedran Pavic Date: Mon, 5 Feb 2018 19:11:08 +0100 Subject: [PATCH] Restore `CookieSerializer.CookieValue` constructor visibility Closes gh-978 --- .../springframework/session/web/http/CookieSerializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-session-core/src/main/java/org/springframework/session/web/http/CookieSerializer.java b/spring-session-core/src/main/java/org/springframework/session/web/http/CookieSerializer.java index f05bb29a..2e8b880a 100644 --- a/spring-session-core/src/main/java/org/springframework/session/web/http/CookieSerializer.java +++ b/spring-session-core/src/main/java/org/springframework/session/web/http/CookieSerializer.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2017 the original author or authors. + * Copyright 2014-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ public interface CookieSerializer { * modified by the {@link CookieSerializer} when writing to the actual cookie so * long as the original value is returned when the cookie is read. */ - CookieValue(HttpServletRequest request, HttpServletResponse response, + public CookieValue(HttpServletRequest request, HttpServletResponse response, String cookieValue) { this.request = request; this.response = response;