Skip to content

Commit b3e8355

Browse files
Thomas Dudouetmp911de
Thomas Dudouet
authored andcommitted
DATAMONGO-1377 Update JavaDoc: Use @EnableMongoRepositories instead of @EnableJpaRepositories.
The JavaDoc description references the EnableJpaRepositories annotation instead of the EnableMongoRepositories annotation. Original pull request: #340.
1 parent 6f43390 commit b3e8355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/config/EnableMongoRepositories.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
/**
4949
* Alias for the {@link #basePackages()} attribute. Allows for more concise annotation declarations e.g.:
50-
* {@code @EnableJpaRepositories("org.my.pkg")} instead of {@code @EnableJpaRepositories(basePackages="org.my.pkg")}.
50+
* {@code @EnableMongoRepositories("org.my.pkg")} instead of {@code @EnableMongoRepositories(basePackages="org.my.pkg")}.
5151
*/
5252
String[] value() default {};
5353

0 commit comments

Comments
 (0)