INT-1919 polishing, code cleanup

This commit is contained in:
Oleg Zhurakousky
2011-06-01 07:34:40 -04:00
parent 23625a1693
commit 73bf93c229

View File

@@ -26,6 +26,7 @@ import org.springframework.util.StringUtils;
* Parser for the 'header-filter' element.
*
* @author Mark Fisher
* @author Oleg Zhurakousky
* @since 2.0
*/
public class HeaderFilterParser extends AbstractTransformerParser {
@@ -42,7 +43,6 @@ public class HeaderFilterParser extends AbstractTransformerParser {
parserContext.getReaderContext().error("The 'header-names' attribute must not be empty.",
parserContext.extractSource(element));
}
String pattern = element.getAttribute("pattern-match");
IntegrationNamespaceUtils.setValueIfAttributeDefined(builder, element, "pattern-match");
builder.addConstructorArgValue(headerNames);
}