mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 06:58:41 +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:
@@ -37,7 +37,7 @@ class BookRepositoryTest {
|
||||
private final BookRepository bookRepository = new BookRepository();
|
||||
|
||||
@BeforeEach
|
||||
public void setUp() throws BookDuplicateException {
|
||||
void setUp() throws BookDuplicateException {
|
||||
var book = new Book();
|
||||
book.setId(bookId);
|
||||
bookRepository.add(book);
|
||||
|
||||
Reference in New Issue
Block a user