checkstyle MutableException

checkstyle EmptyBlock

checkstyle fixRightCurly Script

checkstyle EmptyStatement

checkstyle RightCurly

checkstyle TailingWhite

checkstyle NeedBraces

Fix the line separator in the `fixRightCurly.gradle`
This commit is contained in:
Gary Russell
2016-04-05 09:44:19 -04:00
committed by Artem Bilan
parent c0b19e61b5
commit 842aded9a4
271 changed files with 1094 additions and 821 deletions

View File

@@ -16,7 +16,7 @@
package org.springframework.integration.test.support;
/**
* Validate a message payload. Create an anonymous instance or subclass this
* Validate a message payload. Create an anonymous instance or subclass this
* to validate a response payload.
* @author David Turanski
*

View File

@@ -37,7 +37,8 @@ public class RequestResponseScenario {
protected Message<? extends Object> getMessage(){
if (message == null){
return new GenericMessage<Object>(this.payload);
} else {
}
else {
return message;
}
}

View File

@@ -21,7 +21,7 @@ import java.util.List;
/**
* Convenience class for a single {@link RequestResponseScenario} test
*
*
* @author David Turanski
*/
public abstract class SingleRequestResponseScenarioTests extends AbstractRequestResponseScenarioTests {

View File

@@ -1,5 +1,5 @@
/**
* Provides several test support classes including for testing Spring Integration
* Provides several test support classes including for testing Spring Integration
* request-response message scenarios.
*/
package org.springframework.integration.test.support;

View File

@@ -81,7 +81,8 @@ public class OnlyOnceTrigger implements Trigger {
if (other.executionTime != null) {
return false;
}
} else if (!executionTime.equals(other.executionTime)) {
}
else if (!executionTime.equals(other.executionTime)) {
return false;
}
return true;

View File

@@ -1,6 +1,6 @@
/**
* Provides various test utilities, for example
* Provides various test utilities, for example
* {@link org.springframework.integration.test.util.TestUtils} provides convenience
* helpers to easily retrieve private bean properties.
* helpers to easily retrieve private bean properties.
*/
package org.springframework.integration.test.util;

View File

@@ -69,7 +69,8 @@ public class PayloadMatcherTests {
public void readableException() throws Exception {
try {
assertThat(message, hasPayload("woot"));
} catch(AssertionError ae){
}
catch(AssertionError ae){
assertTrue(ae.getMessage().contains("Expected: a Message with payload: "));
}
}