INT-2238 removing warnings in JavaDoc
This commit is contained in:
@@ -99,7 +99,7 @@ public class RequestResponseScenario {
|
||||
* Set the response validator
|
||||
* @see AbstractResponseValidator
|
||||
* @param responseValidator
|
||||
* @return
|
||||
* @return this
|
||||
*/
|
||||
public RequestResponseScenario setResponseValidator(AbstractResponseValidator<?> responseValidator) {
|
||||
this.responseValidator = responseValidator;
|
||||
@@ -110,15 +110,15 @@ public class RequestResponseScenario {
|
||||
/**
|
||||
* Set the request message (as an alternative to setPayload())
|
||||
* @param message
|
||||
* @return
|
||||
* @return this
|
||||
*/
|
||||
public RequestResponseScenario setMessage(Message<?> message) {
|
||||
this.message = message;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
protected void init(){
|
||||
protected void init() {
|
||||
Assert.state(message == null || payload == null,"cannot set both message and payload");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -10,22 +10,23 @@
|
||||
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.integration.test.support;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Convenience class for a single {@link RequestResponsScenario} test
|
||||
* Convenience class for a single {@link RequestResponseScenario} test
|
||||
* @author David Turanski
|
||||
*
|
||||
*/
|
||||
|
||||
public abstract class SingleRequestResponseScenarioTest extends AbstractRequestResponseScenarioTest {
|
||||
|
||||
@Override
|
||||
protected List<RequestResponseScenario> defineRequestResponseScenarios() {
|
||||
protected List<RequestResponseScenario> defineRequestResponseScenarios() {
|
||||
return Collections.singletonList(defineRequestResponseScenario());
|
||||
}
|
||||
|
||||
protected abstract RequestResponseScenario defineRequestResponseScenario();
|
||||
protected abstract RequestResponseScenario defineRequestResponseScenario();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user