mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 20:15:47 +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:
1 parent
5afc32cf23
commit
4cd8149502
155 files changed
+273
-273
No files matched your search
@@ -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