mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-08-09 20:22:06 +00:00
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:
@@ -60,7 +60,7 @@ class AnnotationBasedRepositoryTest {
|
||||
* Prepare data for test
|
||||
*/
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
void setup() {
|
||||
repository.saveAll(persons);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ class AnnotationBasedRepositoryTest {
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void cleanup() {
|
||||
void cleanup() {
|
||||
repository.deleteAll();
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class RepositoryTest {
|
||||
* Prepare data for test
|
||||
*/
|
||||
@BeforeEach
|
||||
public void setup() {
|
||||
void setup() {
|
||||
repository.saveAll(persons);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ class RepositoryTest {
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void cleanup() {
|
||||
void cleanup() {
|
||||
repository.deleteAll();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user