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 17:21:21 +01:00
committed by GitHub
parent 5afc32cf23
commit 4cd8149502
155 changed files with 273 additions and 273 deletions
@@ -35,7 +35,7 @@ import org.junit.jupiter.api.Test;
*
* @author Jeroen Meulemeester
*/
public class HalflingThiefTest {
class HalflingThiefTest {
/**
* Verify if the thief uses the provided stealing method
@@ -29,7 +29,7 @@ package com.iluwatar.templatemethod;
*
* @author Jeroen Meulemeester
*/
public class HitAndRunMethodTest extends StealingMethodTest<HitAndRunMethod> {
class HitAndRunMethodTest extends StealingMethodTest<HitAndRunMethod> {
/**
* Create a new test for the {@link HitAndRunMethod}
@@ -48,12 +48,12 @@ public abstract class StealingMethodTest<M extends StealingMethod> {
private InMemoryAppender appender;
@BeforeEach
public void setUp() {
void setUp() {
appender = new InMemoryAppender();
}
@AfterEach
public void tearDown() {
void tearDown() {
appender.stop();
}
@@ -29,7 +29,7 @@ package com.iluwatar.templatemethod;
*
* @author Jeroen Meulemeester
*/
public class SubtleMethodTest extends StealingMethodTest<SubtleMethod> {
class SubtleMethodTest extends StealingMethodTest<SubtleMethod> {
/**
* Create a new test for the {@link SubtleMethod}