From 30b39da1d0a34ea1d36f33c494568aa1fadb3f6e Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Mon, 11 Jul 2011 18:20:06 -0400 Subject: [PATCH] INT-1969 fixed typo and access modifier in PayloadTypeRouter --- .../integration/router/PayloadTypeRouter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/router/PayloadTypeRouter.java b/spring-integration-core/src/main/java/org/springframework/integration/router/PayloadTypeRouter.java index 41e9b8bbb0..71388b3c01 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/router/PayloadTypeRouter.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/router/PayloadTypeRouter.java @@ -87,7 +87,7 @@ public class PayloadTypeRouter extends AbstractMessageRouter { Class[] interfaces = type.getInterfaces(); List matchedInterfaces = new ArrayList(); - this.doInitrospect(interfaces, matchedInterfaces); + this.doIntrospect(interfaces, matchedInterfaces); if (matchedInterfaces.isEmpty()){ return null; @@ -104,14 +104,14 @@ public class PayloadTypeRouter extends AbstractMessageRouter { } } - public void doInitrospect(Class[] interfaces, List matchedInterfaces){ + private void doIntrospect(Class[] interfaces, List matchedInterfaces){ for (Class extendedInterface : interfaces) { String currentChannelName = this.channelIdentifierMap.get(extendedInterface.getName()); if (StringUtils.hasText(currentChannelName)) { matchedInterfaces.add(extendedInterface.getName()); } Class[] extendedInterfaces = extendedInterface.getInterfaces(); - this.doInitrospect(extendedInterfaces, matchedInterfaces); + this.doIntrospect(extendedInterfaces, matchedInterfaces); } }