Skip to content

Commit 2c5ce2f

Browse files
committed
Polishing.
See #972
1 parent 7d98c37 commit 2c5ce2f

File tree

6 files changed

+11
-12
lines changed

6 files changed

+11
-12
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2021 the original author or authors.
2+
* Copyright 2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-data-relational/src/main/java/org/springframework/data/relational/core/conversion/BasicRelationalConverter.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
*/
1616
package org.springframework.data.relational.core.conversion;
1717

18+
import java.util.Collections;
19+
import java.util.Optional;
20+
import java.util.function.Function;
21+
1822
import org.springframework.core.convert.ConversionService;
1923
import org.springframework.core.convert.support.ConfigurableConversionService;
2024
import org.springframework.core.convert.support.DefaultConversionService;
@@ -37,10 +41,6 @@
3741
import org.springframework.util.Assert;
3842
import org.springframework.util.ClassUtils;
3943

40-
import java.util.Collections;
41-
import java.util.Optional;
42-
import java.util.function.Function;
43-
4444
/**
4545
* {@link RelationalConverter} that uses a {@link MappingContext} to apply basic conversion of relational values to
4646
* property values.
@@ -63,7 +63,7 @@ public class BasicRelationalConverter implements RelationalConverter {
6363
/**
6464
* Creates a new {@link BasicRelationalConverter} given {@link MappingContext}.
6565
*
66-
* @param context must not be {@literal null}. org.springframework.data.jdbc.core.DefaultDataAccessStrategyUnitTests
66+
* @param context must not be {@literal null}.
6767
*/
6868
public BasicRelationalConverter(
6969
MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty> context) {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public boolean isReference() {
147147

148148
/*
149149
* (non-Javadoc)
150-
* @see org.springframework.data.jdbc.core.mapping.model.JdbcPersistentProperty#getColumnName()
150+
* @see org.springframework.data.relational.core.mapping.model.RelationalPersistentProperty#getColumnName()
151151
*/
152152
@Override
153153
public SqlIdentifier getColumnName() {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.util.Assert;
2424

2525
/**
26-
* {@link MappingContext} implementation for JDBC.
26+
* {@link MappingContext} implementation.
2727
*
2828
* @author Jens Schauder
2929
* @author Greg Turnquist

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import java.util.Optional;
1919

2020
import org.springframework.data.mapping.model.BasicPersistentEntity;
21-
import org.springframework.data.mapping.model.PersistentPropertyAccessorFactory;
2221
import org.springframework.data.relational.core.sql.SqlIdentifier;
2322
import org.springframework.data.util.Lazy;
2423
import org.springframework.data.util.TypeInformation;
@@ -74,7 +73,7 @@ public void setForceQuote(boolean forceQuote) {
7473

7574
/*
7675
* (non-Javadoc)
77-
* @see org.springframework.data.jdbc.mapping.model.JdbcPersistentEntity#getTableName()
76+
* @see org.springframework.data.relational.mapping.model.RelationalPersistentEntity#getTableName()
7877
*/
7978
@Override
8079
public SqlIdentifier getTableName() {
@@ -90,7 +89,7 @@ public SqlIdentifier getTableName() {
9089

9190
/*
9291
* (non-Javadoc)
93-
* @see org.springframework.data.jdbc.core.mapping.model.JdbcPersistentEntity#getIdColumn()
92+
* @see org.springframework.data.relational.core.mapping.model.RelationalPersistentEntity#getIdColumn()
9493
*/
9594
@Override
9695
public SqlIdentifier getIdColumn() {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* {@link BeforeConvertCallback} to capture auditing information on persisting and updating entities.
2525
* <p>
26-
* An instance of this class gets registered when you enable auditing for Spring Data JDBC.
26+
* An instance of this class gets registered when you enable auditing for Spring Data Relational.
2727
*
2828
* @author Jens Schauder
2929
* @author Mark Paluch

0 commit comments

Comments
 (0)