From b7dd5207845c6ab827bcfd777ba746722c1ef611 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Thu, 5 Mar 2015 22:50:42 -0500 Subject: [PATCH] Fix formatting --- .../BufferedImageHttpMessageConverter.java | 17 ++++++----------- .../converter/FormHttpMessageConverter.java | 12 +++++------- .../client/AbstractJettyServerTestCase.java | 2 +- .../client/RestTemplateIntegrationTests.java | 2 +- 4 files changed, 13 insertions(+), 20 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java b/spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java index 12dd772687..25d39f12fe 100644 --- a/spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java +++ b/spring-web/src/main/java/org/springframework/http/converter/BufferedImageHttpMessageConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2015 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. @@ -210,26 +210,21 @@ public class BufferedImageHttpMessageConverter implements HttpMessageConverter form, MediaType contentType, HttpOutputMessage outputMessage) - throws IOException { + private void writeForm(MultiValueMap form, MediaType contentType, + HttpOutputMessage outputMessage) throws IOException { Charset charset; if (contentType != null) { @@ -291,8 +291,7 @@ public class FormHttpMessageConverter implements HttpMessageConverter