Skip to content

Commit

Permalink
Merge pull request #7881 from qmonmert/jhlite/typo
Browse files Browse the repository at this point in the history
Some typos
  • Loading branch information
pascalgrimaud authored Oct 30, 2023
2 parents 2f690cb + bfcec9b commit 1703da1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void shouldGetEmptyImmutableCollectionFromNullCollection() {
}

@Test
void shouldGetmmutableCollectionFromCollection() {
void shouldGetImmutableCollectionFromCollection() {
Collection<String> source = new ArrayList<>();
source.add("test");
Collection<String> collection = JHipsterCollections.immutable(source);
Expand All @@ -52,7 +52,7 @@ void shouldGetEmptyImmutableMapFromNullMap() {
}

@Test
void shouldGetmmutableMapFromMap() {
void shouldGetImmutableMapFromMap() {
Map<String, String> source = new HashMap<>();
source.put("key", "value");
Map<String, String> map = JHipsterCollections.immutable(source);
Expand Down

0 comments on commit 1703da1

Please sign in to comment.