Merge pull request #1575 from ocadaruma:fix-example

* pr/1575:
  Fix wrong javadoc example
This commit is contained in:
Stephane Nicoll 2017-10-23 09:20:46 +02:00
commit 62c6a0054d
1 changed files with 4 additions and 4 deletions

View File

@ -47,18 +47,18 @@ import java.lang.annotation.Target;
* } * }
* *
* @Component * @Component
* public class JdbcFooRepository { * public class JdbcFooRepository extends FooRepository {
* *
* public JdbcFooService(DataSource dataSource) { * public JdbcFooRepository(DataSource dataSource) {
* // ... * // ...
* } * }
* } * }
* *
* @Primary * @Primary
* @Component * @Component
* public class HibernateFooRepository { * public class HibernateFooRepository extends FooRepository {
* *
* public HibernateFooService(SessionFactory sessionFactory) { * public HibernateFooRepository(SessionFactory sessionFactory) {
* // ... * // ...
* } * }
* } * }