Skip to content

Commit 1ab242d

Browse files
committed
Polishing.
Fix Javadoc issues. See #2159
1 parent d2cf55b commit 1ab242d

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/Query.java

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,25 +26,22 @@
2626
import org.springframework.jdbc.core.RowMapper;
2727

2828
/**
29-
* <p>
3029
* Annotation to provide SQL statements that will get used for executing the method. The SQL statement may contain named
3130
* parameters as supported by {@link org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate}. Those
3231
* parameters will get bound to the arguments of the annotated method.
33-
* </p><p>
32+
* <p>
3433
* You can also specify the way to extract data from {@link java.sql.ResultSet}. There are 4 attribute of this
3534
* annotation you can set to do that:
3635
* <p>
3736
* <ol>
38-
* <li> {@link #resultSetExtractorRef()}
39-
* </li><li> {@link #resultSetExtractorClass()}
40-
* </li><li> {@link #rowMapperRef()}
41-
* </li><li> {@link #rowMapperClass()}
42-
* </li>
43-
*</ol>
44-
*
37+
* <li>{@link #resultSetExtractorRef()}</li>
38+
* <li>{@link #resultSetExtractorClass()}</li>
39+
* <li>{@link #rowMapperRef()}</li>
40+
* <li>{@link #rowMapperClass()}</li>
41+
* </ol>
4542
* The annotation attributes above are listed in their preference order, that is - the {@link #resultSetExtractorRef()},
46-
* has the highest privilege and, will suppress any other 3 attribute from above, and consequently {@link #rowMapperClass()}
47-
* has the lowest privilege and will be used if any of three above are not specified.
43+
* has the highest privilege and, will suppress any other 3 attribute from above, and consequently
44+
* {@link #rowMapperClass()} has the lowest privilege and will be used if any of three above are not specified.
4845
*
4946
* @author Jens Schauder
5047
* @author Moises Cisneros

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/support/DefaultRowMapperFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
* <p>
3131
* This implementation is not capable of loading the {@link RowMapper} or {@link ResultSetExtractor} by reference via
3232
* corresponding methods from {@link RowMapperFactory}.
33+
* <p>
34+
* Implementation is thread-safe.
3335
*
34-
* @implNote Public APIs of this class are thread-safe.
3536
* @author Mikhail Polivakha
3637
* @since 4.0
3738
*/

0 commit comments

Comments
 (0)