Ensure FunctionTypes get registered for composite functions

Without this change the type of a composed function in the
InMemoryFunctionCatalog is always null. The key is to register
the type at the same time as the function is registered.

Also some format and javadoc fixes (cosmetic)
This commit is contained in:
Dave Syer
2019-02-21 09:53:15 +00:00
parent 6865d53c91
commit aaf268ea40
8 changed files with 131 additions and 67 deletions

View File

@@ -24,8 +24,8 @@ import reactor.core.publisher.Flux;
* {@link Function} implementation that wraps a target Function so that the target's
* simple input and output types will be wrapped as {@link Flux} instances.
*
* @param <T> input type of target function
* @param <R> output type of target function
* @param <I> input type of target function
* @param <O> output type of target function
* @author Mark Fisher
* @author Oleg Zhurakousky
*/

View File

@@ -24,8 +24,8 @@ import reactor.core.publisher.Flux;
* {@link Function} implementation that wraps a target Function so that the target's
* simple input and output types will be wrapped as {@link Flux} instances.
*
* @param <T> input type of target function
* @param <R> output type of target function
* @param <I> input type of target function
* @param <O> output type of target function
* @author Oleg Zhurakousky
* @since 2.0.1
*/