Polish contribution

See gh-23457
This commit is contained in:
Sam Brannen 2019-08-13 10:36:46 +02:00
parent 91c0fbaadb
commit e7e5cce735
1 changed files with 10 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2017 the original author or authors. * Copyright 2002-2019 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -34,7 +34,7 @@ import org.springframework.context.annotation.Import;
* <pre class="code"> * <pre class="code">
* &#064;Configuration * &#064;Configuration
* &#064;EnableWebFlux * &#064;EnableWebFlux
* &#064;ComponentScan(basePackageClasses = MyConfiguration.class) * &#064;ComponentScan
* public class MyConfiguration { * public class MyConfiguration {
* } * }
* </pre> * </pre>
@ -45,9 +45,10 @@ import org.springframework.context.annotation.Import;
* <pre class="code"> * <pre class="code">
* &#064;Configuration * &#064;Configuration
* &#064;EnableWebFlux * &#064;EnableWebFlux
* &#064;ComponentScan(basePackageClasses = MyConfiguration.class) * &#064;ComponentScan
* public class MyConfiguration implements WebFluxConfigurer { * public class MyConfiguration implements WebFluxConfigurer {
* *
* &#064;Autowired
* private ObjectMapper objectMapper; * private ObjectMapper objectMapper;
* *
* &#064;Override * &#064;Override