@@ -209,7 +209,7 @@ public String toString() {
209209 * @return a builder to create the cookie with
210210 * @since 6.0
211211 */
212- public static ResponseCookieBuilder from (final String name ) {
212+ public static ResponseCookieBuilder from (String name ) {
213213return new DefaultResponseCookieBuilder (name , null , false );
214214}
215215
@@ -220,7 +220,7 @@ public static ResponseCookieBuilder from(final String name) {
220220 * @param value the cookie value
221221 * @return a builder to create the cookie with
222222 */
223- public static ResponseCookieBuilder from (final String name , final String value ) {
223+ public static ResponseCookieBuilder from (String name , @ Nullable String value ) {
224224return new DefaultResponseCookieBuilder (name , value , false );
225225}
226226
@@ -234,7 +234,7 @@ public static ResponseCookieBuilder from(final String name, final String value)
234234 * @return a builder to create the cookie with
235235 * @since 5.2.5
236236 */
237- public static ResponseCookieBuilder fromClientResponse (final String name , final String value ) {
237+ public static ResponseCookieBuilder fromClientResponse (String name , @ Nullable String value ) {
238238return new DefaultResponseCookieBuilder (name , value , true );
239239}
240240
@@ -461,7 +461,7 @@ private static class DefaultResponseCookieBuilder implements ResponseCookieBuild
461461
462462private @ Nullable String sameSite ;
463463
464- public DefaultResponseCookieBuilder (String name , @ Nullable String value , boolean lenient ) {
464+ DefaultResponseCookieBuilder (String name , @ Nullable String value , boolean lenient ) {
465465this .name = name ;
466466this .value = value ;
467467this .lenient = lenient ;
0 commit comments