Consistent abstract declaration for utility classes (plus polishing)
Issue: SPR-16968
This commit is contained in:
@@ -26,12 +26,7 @@ import org.springframework.core.annotation.AnnotatedElementUtils;
|
||||
* @author Sam Brannen
|
||||
* @since 4.2
|
||||
*/
|
||||
public final class TestAnnotationUtils {
|
||||
|
||||
|
||||
private TestAnnotationUtils() {
|
||||
}
|
||||
|
||||
public abstract class TestAnnotationUtils {
|
||||
|
||||
/**
|
||||
* Get the {@code timeout} configured via the {@link Timed @Timed}
|
||||
|
||||
@@ -38,15 +38,11 @@ import org.springframework.util.StringUtils;
|
||||
* @see org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
|
||||
* @see org.springframework.jdbc.datasource.init.DatabasePopulatorUtils
|
||||
*/
|
||||
public final class JdbcTestUtils {
|
||||
public abstract class JdbcTestUtils {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(JdbcTestUtils.class);
|
||||
|
||||
|
||||
private JdbcTestUtils() {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count the rows in the given table.
|
||||
* @param jdbcTemplate the JdbcTemplate with which to perform JDBC operations
|
||||
|
||||
@@ -35,7 +35,6 @@ import org.springframework.web.context.WebApplicationContext;
|
||||
*/
|
||||
public final class MockMvcBuilders {
|
||||
|
||||
|
||||
private MockMvcBuilders() {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user