Skip to content

Commit

Permalink
remove LocaleConfiguration
Browse files Browse the repository at this point in the history
remove LocaleConfiguration due to be a leftover from angularjs

Fix jhipster#20106
  • Loading branch information
shrralis committed Oct 11, 2023
1 parent 31dae68 commit ea5dc4a
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 607 deletions.
12 changes: 0 additions & 12 deletions generators/server/__snapshots__/generator.spec.mjs.snap
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ exports[`generator - server composing databaseType option no with jwt should mat
"src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java": {
"stateCleared": "modified",
},
Expand Down Expand Up @@ -301,9 +298,6 @@ exports[`generator - server composing databaseType option no with oauth2 should
"src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java": {
"stateCleared": "modified",
},
Expand Down Expand Up @@ -543,9 +537,6 @@ exports[`generator - server composing databaseType option no with session should
"src/main/java/com/mycompany/myapp/config/JacksonConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java": {
"stateCleared": "modified",
},
Expand Down Expand Up @@ -827,9 +818,6 @@ exports[`generator - server with entities should match files snapshot 1`] = `
"src/main/java/com/mycompany/myapp/config/LiquibaseConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java": {
"stateCleared": "modified",
},
Expand Down
1 change: 1 addition & 0 deletions generators/server/cleanup.mts
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,6 @@ export default function cleanupOldServerFilesTask(this: BaseGenerator, taskParam
this.removeFile(`${application.srcTestResources}META-INF/spring.factories`);
this.removeFile(`${application.javaPackageTestDir}config/TestContainersSpringContextCustomizerFactory.java`);
}
this.removeFile(`${application.javaPackageSrcDir}config/LocaleConfiguration.java`);
}
}
5 changes: 0 additions & 5 deletions generators/server/files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,6 @@ export const baseServerFiles = {
renameTo: moveToJavaPackageSrcDir,
templates: ['config/Constants.java'],
},
{
path: `${SERVER_MAIN_SRC_DIR}_package_/`,
renameTo: moveToJavaPackageSrcDir,
templates: [data => `config/LocaleConfiguration_${data.imperativeOrReactive}.java`],
},
],
serverJavaDomain: [
{
Expand Down
3 changes: 0 additions & 3 deletions generators/server/support/__snapshots__/needles.spec.mts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ exports[`generator - server - support - needles generated project should match s
"src/main/java/com/mycompany/myapp/config/LiquibaseConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LocaleConfiguration.java": {
"stateCleared": "modified",
},
"src/main/java/com/mycompany/myapp/config/LoggingAspectConfiguration.java": {
"stateCleared": "modified",
},
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit ea5dc4a

Please sign in to comment.