diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/dummy/cassandrapersistence/domain/DummyCassandraPersistenceModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/dummy/cassandrapersistence/domain/DummyCassandraPersistenceModuleFactory.java index 4a813c67493..40fa2e7bb4f 100644 --- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/dummy/cassandrapersistence/domain/DummyCassandraPersistenceModuleFactory.java +++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/dummy/cassandrapersistence/domain/DummyCassandraPersistenceModuleFactory.java @@ -24,7 +24,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { Assert.notNull("properties", properties); String packagePath = properties.packagePath(); - String pakageName = properties.projectBaseName().get(); + String packageName = properties.projectBaseName().get(); //@formatter:off return moduleBuilder(properties) @@ -53,7 +53,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) { .and() .mandatoryReplacements() .in(path("src/main/resources/config/application.properties")) - .add(EXISTING_KEYSPACE_NEEDLE, "spring.cassandra.keyspace-name=" + pakageName) + .add(EXISTING_KEYSPACE_NEEDLE, "spring.cassandra.keyspace-name=" + packageName) .and() .and() .build(); diff --git a/src/test/java/tech/jhipster/lite/module/domain/file/JHipsterDestinationTest.java b/src/test/java/tech/jhipster/lite/module/domain/file/JHipsterDestinationTest.java index d3dfba5924f..c5d956a95bf 100644 --- a/src/test/java/tech/jhipster/lite/module/domain/file/JHipsterDestinationTest.java +++ b/src/test/java/tech/jhipster/lite/module/domain/file/JHipsterDestinationTest.java @@ -18,7 +18,7 @@ class JHipsterDestinationTest { private static final JHipsterProjectFolder PROJECT = new JHipsterProjectFolder(TestFileUtils.tmpDirForTest()); @Test - void shouldAddSlashWhenHappeningElementithoutSlash() { + void shouldAddSlashWhenHappeningElementWithoutSlash() { assertThat(new JHipsterDestination("src/main").append("file").pathInProject(PROJECT).toString()).endsWith(path("src", "main", "file")); } diff --git a/src/test/java/tech/jhipster/lite/shared/collection/domain/JHipsterCollectionsTest.java b/src/test/java/tech/jhipster/lite/shared/collection/domain/JHipsterCollectionsTest.java index 079d900a457..258cfa8aed8 100644 --- a/src/test/java/tech/jhipster/lite/shared/collection/domain/JHipsterCollectionsTest.java +++ b/src/test/java/tech/jhipster/lite/shared/collection/domain/JHipsterCollectionsTest.java @@ -28,7 +28,7 @@ void shouldGetEmptyImmutableCollectionFromNullCollection() { } @Test - void shouldGetmmutableCollectionFromCollection() { + void shouldGetImmutableCollectionFromCollection() { Collection source = new ArrayList<>(); source.add("test"); Collection collection = JHipsterCollections.immutable(source); @@ -52,7 +52,7 @@ void shouldGetEmptyImmutableMapFromNullMap() { } @Test - void shouldGetmmutableMapFromMap() { + void shouldGetImmutableMapFromMap() { Map source = new HashMap<>(); source.put("key", "value"); Map map = JHipsterCollections.immutable(source);