artembilan/spring-integration — comment on commit 6707bc6ed751f83645a5954de180304c42dc8825
File: spring-integration-core/src/main/java/org/springframework/integration/config/xml/HeaderEnricherParserSupport.java line 140
By artembilan:

Yes, it was intentional. At the line 135 it is defined "isExpression" variable and it is used at line 168 (in my sources) isn't shown here: maybe that code wasn't changed at all :-).
I think check at line 152 is enough for all exclusive definitions.