From 7a74b4e25701340a798b9ffeb38d446b9999ce96 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Fri, 10 Dec 2010 09:44:28 +0000 Subject: [PATCH] SWS-656 - ResponseMatcher.payload(Resource payload) should be static --- .../org/springframework/ws/test/server/ResponseMatchers.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/main/java/org/springframework/ws/test/server/ResponseMatchers.java b/test/src/main/java/org/springframework/ws/test/server/ResponseMatchers.java index 430a90f3..d81763fc 100644 --- a/test/src/main/java/org/springframework/ws/test/server/ResponseMatchers.java +++ b/test/src/main/java/org/springframework/ws/test/server/ResponseMatchers.java @@ -5,7 +5,7 @@ * 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, @@ -64,7 +64,7 @@ public abstract class ResponseMatchers { * @param payload the XML payload * @return the response matcher */ - public ResponseMatcher payload(Resource payload) throws IOException { + public static ResponseMatcher payload(Resource payload) throws IOException { return payload(new ResourceSource(payload)); }