From 7bad57708046a99fc4e68616dc57de3636cbbfe3 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Thu, 6 Oct 2011 10:21:49 +0000 Subject: [PATCH] SWS-724 - DefaultConcretePartProvider is not allowing a blank suffix, due to improper assertion --- .../wsdl/wsdl11/provider/DefaultConcretePartProvider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/springframework/ws/wsdl/wsdl11/provider/DefaultConcretePartProvider.java b/core/src/main/java/org/springframework/ws/wsdl/wsdl11/provider/DefaultConcretePartProvider.java index 480136fc..56e62274 100644 --- a/core/src/main/java/org/springframework/ws/wsdl/wsdl11/provider/DefaultConcretePartProvider.java +++ b/core/src/main/java/org/springframework/ws/wsdl/wsdl11/provider/DefaultConcretePartProvider.java @@ -1,11 +1,11 @@ /* - * Copyright 2005-2010 the original author or authors. + * Copyright 2005-2011 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. * 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, @@ -76,7 +76,7 @@ public class DefaultConcretePartProvider implements BindingsProvider, ServicesPr /** Sets the suffix to append to the port type name to obtain the binding name. */ public void setBindingSuffix(String bindingSuffix) { - Assert.hasText(bindingSuffix, "'bindingSuffix' must not be null"); + Assert.notNull(bindingSuffix, "'bindingSuffix' must not be null"); this.bindingSuffix = bindingSuffix; }