mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 12:14:04 +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
+1
-1
@@ -51,7 +51,7 @@ class FindPersonApiHandlerTest {
|
||||
private DynamoDBMapper dynamoDbMapper;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
void setUp() {
|
||||
MockitoAnnotations.openMocks(this);
|
||||
this.findPersonApiHandler = new FindPersonApiHandler();
|
||||
this.findPersonApiHandler.setDynamoDbMapper(dynamoDbMapper);
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ class SavePersonApiHandlerTest {
|
||||
private final ObjectMapper objectMapper = new ObjectMapper();
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
void setUp() {
|
||||
MockitoAnnotations.openMocks(this);
|
||||
this.savePersonApiHandler = new SavePersonApiHandler();
|
||||
this.savePersonApiHandler.setDynamoDbMapper(dynamoDbMapper);
|
||||
|
||||
Reference in new issue
Block a user