Skip to content

Commit

Permalink
Merge pull request #1006 from pascalgrimaud/sonarlint-fix-issues
Browse files Browse the repository at this point in the history
Fix sonarlint issues
  • Loading branch information
pascalgrimaud authored Mar 11, 2022
2 parents 2a4d67b + dc8aac0 commit ebaa4c9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void shouldNotReadLineAsCaseSensitive() throws Exception {
}

@Test
void shouldNotReadLineForAnotherText() throws Exception {
void shouldNotReadLineForAnotherText() {
String filename = getPath("src/test/resources/generator/utils/readme-short.md");

assertThat(FileUtils.readLine(filename, "beer")).isEmpty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import tech.jhipster.lite.UnitTest;
import tech.jhipster.lite.common.domain.FileUtils;
import tech.jhipster.lite.common.domain.JsonUtils;
import tech.jhipster.lite.common.domain.WordUtils;
import tech.jhipster.lite.error.domain.GeneratorException;
import tech.jhipster.lite.generator.history.domain.GeneratorHistoryData;
import tech.jhipster.lite.generator.history.domain.GeneratorHistoryValue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.junit.jupiter.api.Test;
import tech.jhipster.lite.UnitTest;
import tech.jhipster.lite.generator.buildtool.generic.domain.Dependency;
import tech.jhipster.lite.generator.server.springboot.database.mysql.domain.MySQL;

@UnitTest
class MariaDBTest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import org.springframework.context.ApplicationContext;
import tech.jhipster.lite.IntegrationTest;
import tech.jhipster.lite.generator.server.springboot.database.mariadb.domain.MariaDBDomainService;
import tech.jhipster.lite.generator.server.springboot.database.mysql.domain.MySQLDomainService;

@IntegrationTest
class MariaDBBeanConfigurationIT {
Expand Down

0 comments on commit ebaa4c9

Please sign in to comment.