SWS-656 - ResponseMatcher.payload(Resource payload) should be static

This commit is contained in:
Arjen Poutsma
2010-12-10 09:44:28 +00:00
parent fda6c1cb98
commit 7a74b4e257

View File

@@ -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));
}