mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 22:23:52 +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:
@@ -50,7 +50,7 @@ class PromiseTest {
|
||||
private Promise<Integer> promise;
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
void setUp() {
|
||||
executor = Executors.newSingleThreadExecutor();
|
||||
promise = new Promise<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user