INT-2238 removing warnings in JavaDoc

This commit is contained in:
Mark Fisher
2011-11-22 21:38:04 -05:00
parent b1680a0cdf
commit 6c1454ae3d
16 changed files with 47 additions and 58 deletions

View File

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

View File

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