Skip to content

Commit

Permalink
correction SonarCloud warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed May 15, 2024
1 parent 16ac47b commit 4b547ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@
import org.sonar.api.utils.Version;

import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.fail;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.mock;

class JavaRulesDefinitionTest {

private RulesDefinition.Repository repository;
private RulesDefinition.Context context;

private int rulesSize;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class AvoidGettingSizeCollectionInLoopTest {
@Test
public void testBadForLoop() {
void testBadForLoop() {
CheckVerifier.newVerifier()
.onFile("src/test/files/AvoidGettingSizeCollectionInForLoopBad.java")
.withCheck(new AvoidGettingSizeCollectionInLoop())
Expand Down

0 comments on commit 4b547ea

Please sign in to comment.