From 2edff2135f7052ae33165a82de9ae7828283b930 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 28 Feb 2014 15:19:35 +0100 Subject: [PATCH] Polish Javadoc for DefaultContentTypeResolver --- .../converter/DefaultContentTypeResolver.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-messaging/src/main/java/org/springframework/messaging/converter/DefaultContentTypeResolver.java b/spring-messaging/src/main/java/org/springframework/messaging/converter/DefaultContentTypeResolver.java index 2f0956b5b2..c232073c19 100644 --- a/spring-messaging/src/main/java/org/springframework/messaging/converter/DefaultContentTypeResolver.java +++ b/spring-messaging/src/main/java/org/springframework/messaging/converter/DefaultContentTypeResolver.java @@ -5,7 +5,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -21,9 +21,10 @@ import org.springframework.util.MimeType; /** * A default {@link ContentTypeResolver} that checks the - * {@link MessageHeaders#CONTENT_TYPE} header or falls back to a default value, - * The header value is expected to be a {@link org.springframework.util.MimeType} - * or a String that can be parsed into a {@code MimeType}. + * {@link MessageHeaders#CONTENT_TYPE} header or falls back to a default value. + * + *

The header value is expected to be a {@link org.springframework.util.MimeType} + * or a {@code String} that can be parsed into a {@code MimeType}. * * @author Rossen Stoyanchev * @since 4.0 @@ -36,8 +37,7 @@ public class DefaultContentTypeResolver implements ContentTypeResolver { /** * Set the default MIME type to use when there is no * {@link MessageHeaders#CONTENT_TYPE} header present. - *

- * This property does not have a default value. + *

This property does not have a default value. */ public void setDefaultMimeType(MimeType defaultMimeType) { this.defaultMimeType = defaultMimeType;