Commit 02b0e395 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '1.4.x' into 1.5.x

parents 9b6fa1e8 4a34c35d
...@@ -106,7 +106,7 @@ public class WebSocketMessagingAutoConfigurationTests { ...@@ -106,7 +106,7 @@ public class WebSocketMessagingAutoConfigurationTests {
@Test @Test
public void basicMessagingWithStringResponse() throws Throwable { public void basicMessagingWithStringResponse() throws Throwable {
Object result = performStompSubscription("/app/string"); Object result = performStompSubscription("/app/string");
assertThat(new String((byte[]) result)).isEqualTo(String.format("string data")); assertThat(new String((byte[]) result)).isEqualTo("string data");
} }
@Test @Test
......
...@@ -138,7 +138,7 @@ public class YamlConfigurationFactory<T> ...@@ -138,7 +138,7 @@ public class YamlConfigurationFactory<T>
+ "either set it directly or set the resource to load it from"); + "either set it directly or set the resource to load it from");
try { try {
if (this.logger.isTraceEnabled()) { if (this.logger.isTraceEnabled()) {
this.logger.trace(String.format("Yaml document is %n%s" + this.yaml)); this.logger.trace(String.format("Yaml document is %n%s", this.yaml));
} }
Constructor constructor = new YamlJavaBeanPropertyConstructor(this.type, Constructor constructor = new YamlJavaBeanPropertyConstructor(this.type,
this.propertyAliases); this.propertyAliases);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment