From 8f38f5c17aa19f50b4f3fcbb74b77c10bdcec97d Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 12 Sep 2019 11:35:30 +0200 Subject: [PATCH] Polishing --- .../test/context/jdbc/MergedSqlConfig.java | 11 +++++++++++ src/checkstyle/checkstyle-suppressions.xml | 5 +---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java b/spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java index 0109b59a59..38ea929213 100644 --- a/spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java +++ b/spring-test/src/main/java/org/springframework/test/context/jdbc/MergedSqlConfig.java @@ -130,6 +130,7 @@ class MergedSqlConfig { } /** + * Get the bean name of the {@link javax.sql.DataSource}. * @see SqlConfig#dataSource() */ String getDataSource() { @@ -137,6 +138,7 @@ class MergedSqlConfig { } /** + * Get the bean name of the {@link org.springframework.transaction.PlatformTransactionManager}. * @see SqlConfig#transactionManager() */ String getTransactionManager() { @@ -144,6 +146,7 @@ class MergedSqlConfig { } /** + * Get the {@link TransactionMode}. * @see SqlConfig#transactionMode() */ TransactionMode getTransactionMode() { @@ -151,6 +154,8 @@ class MergedSqlConfig { } /** + * Get the encoding for the SQL scripts, if different from the platform + * encoding. * @see SqlConfig#encoding() */ String getEncoding() { @@ -158,6 +163,8 @@ class MergedSqlConfig { } /** + * Get the character string used to separate individual statements within the + * SQL scripts. * @see SqlConfig#separator() */ String getSeparator() { @@ -165,6 +172,7 @@ class MergedSqlConfig { } /** + * Get the prefixes that identify single-line comments within the SQL scripts. * @see SqlConfig#commentPrefixes() * @since 5.2 */ @@ -173,6 +181,7 @@ class MergedSqlConfig { } /** + * Get the start delimiter that identifies block comments within the SQL scripts. * @see SqlConfig#blockCommentStartDelimiter() */ String getBlockCommentStartDelimiter() { @@ -180,6 +189,7 @@ class MergedSqlConfig { } /** + * Get the end delimiter that identifies block comments within the SQL scripts. * @see SqlConfig#blockCommentEndDelimiter() */ String getBlockCommentEndDelimiter() { @@ -187,6 +197,7 @@ class MergedSqlConfig { } /** + * Get the {@link ErrorMode}. * @see SqlConfig#errorMode() */ ErrorMode getErrorMode() { diff --git a/src/checkstyle/checkstyle-suppressions.xml b/src/checkstyle/checkstyle-suppressions.xml index e3382a6200..2fba1f7808 100644 --- a/src/checkstyle/checkstyle-suppressions.xml +++ b/src/checkstyle/checkstyle-suppressions.xml @@ -65,7 +65,6 @@ - @@ -78,9 +77,7 @@ - - - +