Polishing

This commit is contained in:
Juergen Hoeller
2016-07-26 17:15:15 +02:00
parent 7b564b72a1
commit e03dea1d64
193 changed files with 324 additions and 323 deletions

View File

@@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Arjen Poutsma
*/
public final class MapSqlParameterSourceTests {
public class MapSqlParameterSourceTests {
@Test
public void nullParameterValuesPassedToCtorIsOk() throws Exception {

View File

@@ -27,7 +27,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class JndiDataSourceLookupTests {
public class JndiDataSourceLookupTests {
private static final String DATA_SOURCE_NAME = "Love is like a stove, burns you when it's hot";
@@ -46,7 +46,7 @@ public final class JndiDataSourceLookupTests {
assertSame(expectedDataSource, dataSource);
}
@Test(expected=DataSourceLookupFailureException.class)
@Test(expected = DataSourceLookupFailureException.class)
public void testNoDataSourceAtJndiLocation() throws Exception {
JndiDataSourceLookup lookup = new JndiDataSourceLookup() {
@Override

View File

@@ -30,7 +30,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class MapDataSourceLookupTests {
public class MapDataSourceLookupTests {
private static final String DATA_SOURCE_NAME = "dataSource";

View File

@@ -44,7 +44,7 @@ public class SQLStateSQLExceptionTranslatorTests {
private static final String SQL = "select count(0) from t_sheep where over_fence = ... yawn... 1";
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testTranslateNullException() throws Exception {
new SQLStateSQLExceptionTranslator().translate("", "", null);
}