Polishing
This commit is contained in:
@@ -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.
|
||||
@@ -34,8 +34,8 @@ import org.springframework.util.ObjectUtils;
|
||||
* created to represent a STOMP message received from a STOMP client or message broker.
|
||||
* Native message headers are kept in a {@code Map<String, List<String>>} under the key
|
||||
* {@link #NATIVE_HEADERS}.
|
||||
* <p>
|
||||
* This class is not intended for direct use but is rather expected to be used
|
||||
*
|
||||
* <p>This class is not intended for direct use but is rather expected to be used
|
||||
* indirectly through protocol-specific sub-classes such as
|
||||
* {@link org.springframework.messaging.simp.stomp.StompHeaderAccessor StompHeaderAccessor}.
|
||||
* Such sub-classes may provide factory methods to translate message headers from
|
||||
@@ -60,7 +60,7 @@ public class NativeMessageHeaderAccessor extends MessageHeaderAccessor {
|
||||
|
||||
/**
|
||||
* A protected constructor to create new headers.
|
||||
* @param nativeHeaders native headers to create the message with, may be {@code null}
|
||||
* @param nativeHeaders native headers to create the message with (may be {@code null})
|
||||
*/
|
||||
protected NativeMessageHeaderAccessor(Map<String, List<String>> nativeHeaders) {
|
||||
if (!CollectionUtils.isEmpty(nativeHeaders)) {
|
||||
|
||||
Reference in New Issue
Block a user