diff --git a/docs/modules/ROOT/pages/spring-cloud-function/programming-model.adoc b/docs/modules/ROOT/pages/spring-cloud-function/programming-model.adoc index ff5d3cc6e..818265dbf 100644 --- a/docs/modules/ROOT/pages/spring-cloud-function/programming-model.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-function/programming-model.adoc @@ -196,8 +196,8 @@ The `MessageRoutingCallback` is a strategy to assist with determining the name o ---- public interface MessageRoutingCallback { default String routingResult(Message message) { - return (String) message.getHeaders().get(FunctionProperties.FUNCTION_DEFINITION); - } + return (String) message.getHeaders().get(FunctionProperties.FUNCTION_DEFINITION); + } } ----