Replace "if(" with "if ("

This commit is contained in:
Rossen Stoyanchev
2014-10-27 09:04:23 -04:00
parent 6592784ef4
commit da612d079f
15 changed files with 28 additions and 28 deletions

View File

@@ -216,7 +216,7 @@ public class MethodMessageHandlerTests {
@Override
protected String getMappingForMethod(Method method, Class<?> handlerType) {
String methodName = method.getName();
if(methodName.startsWith("handler")) {
if (methodName.startsWith("handler")) {
return "/" + methodName;
}
return null;
@@ -240,7 +240,7 @@ public class MethodMessageHandlerTests {
protected String getMatchingMapping(String mapping, Message<?> message) {
String destination = getLookupDestination(getDestination(message));
if(mapping.equals(destination) || this.pathMatcher.match(mapping, destination)) {
if (mapping.equals(destination) || this.pathMatcher.match(mapping, destination)) {
return mapping;
}
return null;