import org.springframework.web.reactive.ViewResolver;
import org.springframework.web.server.ServerWebExchange;
public class ViewResolverResultHandler implements HandlerResultHandler, Ordered {
private final List<ViewResolver> viewResolvers = new ArrayList<>(4);
private final ConversionService conversionService;
<BUG>private int order = Integer.MAX_VALUE;
public ViewResolverResultHandler(List<ViewResolver> resolvers, ConversionService service) {</BUG>
Assert.notEmpty(resolvers, "At least one ViewResolver is required.");
Assert.notNull(service, "'conversionService' is required.");
this.viewResolvers.addAll(resolvers);

import org.springframework.web.reactive.ViewResolver;
import org.springframework.web.server.ServerWebExchange;
public class ViewResolverResultHandler implements HandlerResultHandler, Ordered {
private final List<ViewResolver> viewResolvers = new ArrayList<>(4);
private final ConversionService conversionService;
private int order = Ordered.LOWEST_PRECEDENCE;
public ViewResolverResultHandler(List<ViewResolver> resolvers, ConversionService service) {
Assert.notEmpty(resolvers, "At least one ViewResolver is required.");
Assert.notNull(service, "'conversionService' is required.");
this.viewResolvers.addAll(resolvers);
