From 1b5e75ff2c3c5aae0e5ff970a952166dedd6e77e Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 13 Mar 2017 20:45:23 +0000 Subject: [PATCH] Polish "Include cookies in the HTTP response snippet" See gh-340 Closes gh-305 --- .../mockmvc/MockMvcResponseConverter.java | 5 +++-- .../mockmvc/MockMvcResponseConverterTests.java | 7 ++++--- .../MockMvcRestDocumentationIntegrationTests.java | 15 +++++++-------- ...tAssuredRestDocumentationIntegrationTests.java | 14 ++++++-------- .../restdocs/restassured/TomcatServer.java | 3 ++- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/spring-restdocs-mockmvc/src/main/java/org/springframework/restdocs/mockmvc/MockMvcResponseConverter.java b/spring-restdocs-mockmvc/src/main/java/org/springframework/restdocs/mockmvc/MockMvcResponseConverter.java index 6774577a..1ae383ac 100644 --- a/spring-restdocs-mockmvc/src/main/java/org/springframework/restdocs/mockmvc/MockMvcResponseConverter.java +++ b/spring-restdocs-mockmvc/src/main/java/org/springframework/restdocs/mockmvc/MockMvcResponseConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2016 the original author or authors. + * Copyright 2014-2017 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. @@ -48,7 +48,8 @@ class MockMvcResponseConverter implements ResponseConverter