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:
Robert Volkmann
2022-10-30 18:21:21 +02:00
committed by GitHub
parent 5afc32cf23
commit 4cd8149502
155 changed files with 273 additions and 273 deletions
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class ContentTest {
class ContentTest {
@Test
void testToString() {
@@ -34,7 +34,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class MenuItemTest {
class MenuItemTest {
@Test
void testToString() {
@@ -49,7 +49,7 @@ import org.mockito.ArgumentCaptor;
*
* @author Jeroen Meulemeester
*/
public class DispatcherTest {
class DispatcherTest {
/**
* Dispatcher is a singleton with no way to reset it's internal state back to the beginning.
@@ -57,7 +57,7 @@ public class DispatcherTest {
* influence on each other.
*/
@BeforeEach
public void setUp() throws Exception {
void setUp() throws Exception {
final var constructor = Dispatcher.class.getDeclaredConstructor();
constructor.setAccessible(true);
@@ -44,7 +44,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class ContentStoreTest {
class ContentStoreTest {
@Test
void testOnAction() {
@@ -44,7 +44,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class MenuStoreTest {
class MenuStoreTest {
@Test
void testOnAction() {
@@ -39,7 +39,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class ContentViewTest {
class ContentViewTest {
@Test
void testStoreChanged() {
@@ -43,7 +43,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class MenuViewTest {
class MenuViewTest {
@Test
void testStoreChanged() {