Repository: jhipster/jhipster-lite (java)

Issue:
Rename localprofile package
`localprofile` package should be renamed `local_profile`

Pull request:
rename LocalProfile Package
rename localprofile to local_profile to match naming convention

fix #10436

Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java
similarity index 75%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java
index c90029d8e..3a839b9ef 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.server.springboot.localeprofile.application;
+package tech.jhipster.lite.generator.server.springboot.locale_profile.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.localeprofile.domain.LocalProfileModuleFactory;
+import tech.jhipster.lite.generator.server.springboot.locale_profile.domain.LocalProfileModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/domain/LocalProfileModuleFactory.java
similarity index 97%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/domain/LocalProfileModuleFactory.java
index 05ab75ee5..23416dc3f 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/domain/LocalProfileModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.localeprofile.domain;
+package tech.jhipster.lite.generator.server.springboot.locale_profile.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.*;
 import static tech.jhipster.lite.module.domain.replacement.ReplacementCondition.notContainingReplacement;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java
similarity index 85%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java
index bc5e9d995..2d7478dfd 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java
@@ -1,10 +1,10 @@
-package tech.jhipster.lite.generator.server.springboot.localeprofile.infrastructure.primary;
+package tech.jhipster.lite.generator.server.springboot.locale_profile.infrastructure.primary;
 
 import static tech.jhipster.lite.generator.slug.domain.JHLiteModuleSlug.SPRING_BOOT_LOCAL_PROFILE;
 
 import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Configuration;
-import tech.jhipster.lite.generator.server.springboot.localeprofile.application.LocalProfileApplicationService;
+import tech.jhipster.lite.generator.server.springboot.locale_profile.application.LocalProfileApplicationService;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleOrganization;
 import tech.jhipster.lite.module.domain.resource.JHipsterModulePropertiesDefinition;
 import tech.jhipster.lite.module.domain.resource.JHipsterModuleResource;


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactoryTest.java
index 75299e549..69c49f778 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactoryTest.java
@@ -6,6 +6,7 @@ import org.junit.jupiter.api.Nested;
 import org.junit.jupiter.api.Test;
 import tech.jhipster.lite.TestFileUtils;
 import tech.jhipster.lite.UnitTest;
+import tech.jhipster.lite.generator.server.springboot.locale_profile.domain.LocalProfileModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.JHipsterModulesFixture;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;