From 36322eff510d8d439676ee222c4171bf741b41a4 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 2 Sep 2011 10:03:58 -0400 Subject: [PATCH] typo in exception message --- .../ws/config/WebServiceInboundGatewayParser.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spring-integration-ws/src/main/java/org/springframework/integration/ws/config/WebServiceInboundGatewayParser.java b/spring-integration-ws/src/main/java/org/springframework/integration/ws/config/WebServiceInboundGatewayParser.java index f292bb9d96..79cff563f9 100644 --- a/spring-integration-ws/src/main/java/org/springframework/integration/ws/config/WebServiceInboundGatewayParser.java +++ b/spring-integration-ws/src/main/java/org/springframework/integration/ws/config/WebServiceInboundGatewayParser.java @@ -56,17 +56,16 @@ public class WebServiceInboundGatewayParser extends AbstractInboundGatewayParser } else { // check if unmarshaller is defined which is a mistake without marshaller if (StringUtils.hasText(unmarshallerRef)){ - throw new IllegalArgumentException("Defining 'unmarshaller' without 'marshaller' is not allowed"); + throw new IllegalArgumentException("An 'unmarshaller' is not allowed without 'marshaller'."); } } if (StringUtils.hasText(marshallerRef) || StringUtils.hasText(unmarshallerRef)){ String extractPayload = element.getAttribute("extract-payload"); - if (StringUtils.hasText(extractPayload)){ - logger.warn("Setting 'extract-payload' attribute ihas no effect when used with MarshallingWebServiceInboundGateway"); + if (StringUtils.hasText(extractPayload)) { + logger.warn("Setting 'extract-payload' attribute has no effect when used with a marshalling Web Service Inbound Gateway."); } } - String headerMapperRef = element.getAttribute("header-mapper"); if (StringUtils.hasText(headerMapperRef)) { Assert.isTrue(!StringUtils.hasText(marshallerRef),