Skip to content

Commit 13ed4ba

Browse files
committed
Polishing.
Add author tags. See #1721 Original pull request #1722
1 parent f50609f commit 13ed4ba

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/JdbcConverter.java

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
* versa.
3535
*
3636
* @author Jens Schauder
37+
* @author Mark Paluch
3738
* @since 1.1
3839
*/
3940
public interface JdbcConverter extends RelationalConverter {

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

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
* @author Moises Cisneros
5151
* @author Hebert Coelho
5252
* @author Diego Krupitza
53+
* @author Mark Paluch
5354
*/
5455
public class JdbcQueryMethod extends QueryMethod {
5556

spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/DerivedSqlIdentifier.java

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public SqlIdentifier transform(UnaryOperator<String> transformationFunction) {
6363
@Override
6464
public String toSql(IdentifierProcessing processing) {
6565

66+
// using a local copy of volatile this.sqlName to ensure thread safety.
6667
CachedSqlName sqlName = this.sqlName;
6768
if (sqlName == null || sqlName.processing != processing) {
6869

spring-data-relational/src/main/java/org/springframework/data/relational/core/sql/DefaultSqlIdentifier.java

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ public SqlIdentifier transform(UnaryOperator<String> transformationFunction) {
6262
@Override
6363
public String toSql(IdentifierProcessing processing) {
6464

65+
// using a local copy of volatile this.sqlName to ensure thread safety.
6566
CachedSqlName sqlName = this.sqlName;
6667
if (sqlName == null || sqlName.processing != processing) {
6768

0 commit comments

Comments
 (0)