Repository: jhipster/jhipster-lite
Pull request #12436 (2025-05-01 20:41:06)

Rename: SpringBootMvcModuleFactory


Patch:
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
index 14791ed83..90cb2b229 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/application/SpringBootMvcApplicationService.java
@@ -1,17 +1,17 @@
 package tech.jhipster.lite.generator.server.springboot.mvc.web.application;
 
 import org.springframework.stereotype.Service;
-import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcsModuleFactory;
+import tech.jhipster.lite.generator.server.springboot.mvc.web.domain.SpringBootMvcModuleFactory;
 import tech.jhipster.lite.module.domain.JHipsterModule;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 
 @Service
 public class SpringBootMvcApplicationService {
 
-  private final SpringBootMvcsModuleFactory springBootMvcs;
+  private final SpringBootMvcModuleFactory springBootMvcs;
 
   public SpringBootMvcApplicationService() {
-    springBootMvcs = new SpringBootMvcsModuleFactory();
+    springBootMvcs = new SpringBootMvcModuleFactory();
   }
 
   public JHipsterModule buildTomcatModule(JHipsterModuleProperties properties) {
diff --git a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcModuleFactory.java
similarity index 99%
rename from src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java
rename to src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcModuleFactory.java
index 49f168f99..8f4f6b181 100644
--- a/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactory.java
+++ b/src/main/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcModuleFactory.java
@@ -26,7 +26,7 @@ import tech.jhipster.lite.module.domain.javaproperties.PropertyKey;
 import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 import tech.jhipster.lite.shared.error.domain.Assert;
 
-public class SpringBootMvcsModuleFactory {
+public class SpringBootMvcModuleFactory {
 
   private static final String PACKAGE_INFO = "package-info.java";
   private static final String CORS = "cors";


Test patch:
diff --git a/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java b/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
index 0c0e84df0..a5c72df65 100644
--- a/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
+++ b/src/test/java/tech/jhipster/lite/generator/server/springboot/mvc/web/domain/SpringBootMvcsModuleFactoryTest.java
@@ -12,7 +12,7 @@ import tech.jhipster.lite.module.domain.properties.JHipsterModuleProperties;
 @UnitTest
 class SpringBootMvcsModuleFactoryTest {
 
-  private static final SpringBootMvcsModuleFactory factory = new SpringBootMvcsModuleFactory();
+  private static final SpringBootMvcModuleFactory factory = new SpringBootMvcModuleFactory();
 
   @Test
   void shouldBuildTomcatMvcModule() {