From 68a2f011799ccc15e5faff13965c8ed6c60f8932 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Tue, 30 Jul 2019 13:01:03 -0400 Subject: [PATCH] Fix javadoc (previous commit) --- .../integration/test/matcher/PayloadMatcher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java b/spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java index 740f47620c..3707910171 100644 --- a/spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java +++ b/spring-integration-test-support/src/main/java/org/springframework/integration/test/matcher/PayloadMatcher.java @@ -44,11 +44,13 @@ import org.springframework.messaging.Message; * another {@link Matcher}. * *
+ * {@code
  * ANY_PAYLOAD = new BigDecimal("1.123");
  * Message message = MessageBuilder.withPayload(ANY_PAYLOAD).build();
  * assertThat(message, PayloadMatcher.hasPayload(is(BigDecimal.class)));
  * assertThat(message, PayloadMatcher.hasPayload(notNullValue()));
  * assertThat(message, not((PayloadMatcher.hasPayload(is(String.class))))); *
+ * }
  * 
* *