Repository: jhipster/jhipster-lite
Pull request #12157 (2025-03-21 20:29:17)

Rename package locale_profile to localprofile
Same as:
https://github.com/jhipster/jhipster-lite/blob/4301e95e0aa8f4230adeb807e26ed84c615ca47a/src/test/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactoryTest.java#L1


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/package-info.java
deleted file mode 100644
index 04aef6c6a..000000000
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/package-info.java
+++ /dev/null
@@ -1,2 +0,0 @@
-@tech.jhipster.lite.BusinessContext
-package tech.jhipster.lite.generator.server.springboot.locale_profile;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java
similarity index 75%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java
index 3a839b9ef..c90029d8e 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/application/LocalProfileApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/application/LocalProfileApplicationService.java
@@ -1,7 +1,7 @@
-package tech.jhipster.lite.generator.server.springboot.locale_profile.application;
+package tech.jhipster.lite.generator.server.springboot.localeprofile.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.locale_profile.domain.LocalProfileModuleFactory;
+import tech.jhipster.lite.generator.server.springboot.localeprofile.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/locale_profile/domain/LocalProfileModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java
similarity index 97%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/domain/LocalProfileModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java
index 26935bbc4..8b4df0f4a 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/domain/LocalProfileModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/domain/LocalProfileModuleFactory.java
@@ -1,4 +1,4 @@
-package tech.jhipster.lite.generator.server.springboot.locale_profile.domain;
+package tech.jhipster.lite.generator.server.springboot.localeprofile.domain;
 
 import static tech.jhipster.lite.module.domain.JHipsterModule.buildProfileActivation;
 import static tech.jhipster.lite.module.domain.JHipsterModule.buildPropertyKey;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java
similarity index 85%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java
index 94d1ea50c..0320d75c0 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/locale_profile/infrastructure/primary/LocalProfileModuleConfiguration.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/infrastructure/primary/LocalProfileModuleConfiguration.java
@@ -1,10 +1,10 @@
-package tech.jhipster.lite.generator.server.springboot.locale_profile.infrastructure.primary;
+package tech.jhipster.lite.generator.server.springboot.localeprofile.infrastructure.primary;
 
 import static tech.jhipster.lite.shared.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.locale_profile.application.LocalProfileApplicationService;
+import tech.jhipster.lite.generator.server.springboot.localeprofile.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;
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/package-info.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/package-info.java
new file mode 100644
index 000000000..8a6d4473e
--- /dev/null
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/localeprofile/package-info.java
@@ -0,0 +1,2 @@
+@tech.jhipster.lite.BusinessContext
+package tech.jhipster.lite.generator.server.springboot.localeprofile;


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 69c49f778..75299e549 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,7 +6,6 @@ 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;