refactor: remove code smell java:S5786 (#2159)

https://sonarcloud.io/organizations/iluwatar/rules?open=java%3AS5786&rule_key=java%3AS5786
This commit is contained in:
Robert Volkmann
2022-10-30 18:21:21 +02:00
committed by GitHub
parent 5afc32cf23
commit 4cd8149502
155 changed files with 273 additions and 273 deletions
@@ -70,7 +70,7 @@ class DbCustomerDaoTest {
* Represents the scenario where DB connectivity is present.
*/
@Nested
public class ConnectionSuccess {
class ConnectionSuccess {
/**
* Setup for connection success scenario.
@@ -78,7 +78,7 @@ class DbCustomerDaoTest {
* @throws Exception if any error occurs.
*/
@BeforeEach
public void setUp() throws Exception {
void setUp() throws Exception {
var dataSource = new JdbcDataSource();
dataSource.setURL(DB_URL);
dao = new DbCustomerDao(dataSource);
@@ -191,7 +191,7 @@ class DbCustomerDaoTest {
* @throws SQLException if any error occurs.
*/
@BeforeEach
public void setUp() throws SQLException {
void setUp() throws SQLException {
dao = new DbCustomerDao(mockedDatasource());
}