Skip to content

Commit 27729ac

Browse files
committed
Merge remote-tracking branch 'upstream/main' into spring-boot-v3
2 parents 0da6170 + ce95490 commit 27729ac

File tree

234 files changed

+413
-389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+413
-389
lines changed

.blueprint/cli/commands.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*

.blueprint/generate-sample/command.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*

.blueprint/synchronize/command.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*

.blueprint/synchronize/generator.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*
@@ -50,13 +50,17 @@ export default class SynchronizeGenerator extends BaseGenerator {
5050
.replaceAll(';\n', '\n')
5151
.replaceAll('\nimport static ', '\nimport ')
5252
.replaceAll('public class ', 'class ')
53+
.replaceAll('public abstract class ', 'abstract class ')
54+
.replaceAll('new ', '')
55+
.replaceAll('::class', '::class.java')
5356
.replaceAll('.class', '::class')
5457
.replaceAll(/ (?:extends|implements) (\w+)/g, ' : $1')
5558
.replaceAll(/ (?:extends|implements) /g, ' : ')
5659
.replaceAll(/@Override\n(\s*)/g, 'override ')
5760
.replaceAll(/\n( {4})(private |)?(?:final )?(\w+) (\w+)(\n| = )/g, '\n$1$2lateinit var $4: $3$5')
5861
.replaceAll(/private static final (\w+) /g, 'private val ')
5962
.replaceAll(/(?:public |protected )?(\w+) (\w+)\((.*)\) {/g, 'fun $2($3): $1 {')
63+
.replaceAll(' {}\n', '\n')
6064
.replaceAll(': void', ''),
6165
);
6266
}),

.blueprint/synchronize/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*

.github/workflows/copyright-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
grep -rlZE "Copyright ([0-9]+)-$CURRENT_YEAR" . | xargs -0 sed -i -E "s/Copyright ([0-9]+)-$CURRENT_YEAR/Copyright \1-$NEW_YEAR/g"
3030
# Create PR
3131
- name: Create Pull Request
32-
uses: peter-evans/create-pull-request@v6
32+
uses: peter-evans/create-pull-request@v7
3333
with:
3434
token: ${{ secrets.GITHUB_TOKEN }}
3535
commit-message: 'Update copyright headers'

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
# Drafts your next Release notes as Pull Requests are merged into "master"
14-
- uses: release-drafter/release-drafter@v5
14+
- uses: release-drafter/release-drafter@v6
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191

192192
Copyright [yyyy] [name of copyright owner]
193193

194-
Licensed under the Apache License, Version 2.0 (the "License");
194+
Licensed under the Apache License, Version 2.0 (the "License")
195195
you may not use this file except in compliance with the License.
196196
You may obtain a copy of the License at
197197

cli/logo.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This file is part of the JHipster project, see https://www.jhipster.tech/
55
* for more information.
66
*
7-
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* Licensed under the Apache License, Version 2.0 (the "License")
88
* you may not use this file except in compliance with the License.
99
* You may obtain a copy of the License at
1010
*

generators/detekt/templates/gradle/detekt.gradle.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
This file is part of the JHipster project, see https://www.jhipster.tech/
55
for more information.
66
7-
Licensed under the Apache License, Version 2.0 (the "License");
7+
Licensed under the Apache License, Version 2.0 (the "License")
88
you may not use this file except in compliance with the License.
99
You may obtain a copy of the License at
1010
11-
http://www.apache.org/licenses/LICENSE-2.0
11+
https://www.apache.org/licenses/LICENSE-2.0
1212
1313
Unless required by applicable law or agreed to in writing, software
1414
distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)