GH-7: Add checkstyle and javaformat plugins
Fixes: #7 * Run `./gradlew format` * Updates from PR review suggestions
This commit is contained in:
@@ -58,8 +58,8 @@ public class HeaderEnricherFunctionConfiguration {
|
||||
Enumeration<?> enumeration = props.propertyNames();
|
||||
while (enumeration.hasMoreElements()) {
|
||||
String propertyName = (String) enumeration.nextElement();
|
||||
ExpressionEvaluatingHeaderValueMessageProcessor<?> headerValueMessageProcessor =
|
||||
new ExpressionEvaluatingHeaderValueMessageProcessor<>(props.getProperty(propertyName), null);
|
||||
ExpressionEvaluatingHeaderValueMessageProcessor<?> headerValueMessageProcessor = new ExpressionEvaluatingHeaderValueMessageProcessor<>(
|
||||
props.getProperty(propertyName), null);
|
||||
headerValueMessageProcessor.setBeanFactory(beanFactory);
|
||||
headersToAdd.put(propertyName, headerValueMessageProcessor);
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ import org.springframework.validation.annotation.Validated;
|
||||
public class HeaderEnricherFunctionProperties {
|
||||
|
||||
/**
|
||||
* \n separated properties representing headers in which values are SpEL expressions, e.g
|
||||
* foo='bar' \n baz=payload.baz.
|
||||
* \n separated properties representing headers in which values are SpEL expressions,
|
||||
* e.g foo='bar' \n baz=payload.baz.
|
||||
*/
|
||||
private Properties headers;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user