Skip to content

Commit 7afa3b7

Browse files
authored
fix(infrastructure): add missing import for java.util.Arrays (#749)
1 parent 22b980a commit 7afa3b7

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

.devcontainer/devcontainer.json

+3-19
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
{
2-
"name": "Node.js 18 & TypeScript",
3-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-18-bullseye",
4-
"features": {
5-
"ghcr.io/devcontainers/features/java": {
6-
"installGradle": true,
7-
"installMaven": true,
8-
"version": "11"
9-
},
10-
"ghcr.io/devcontainers-contrib/features/pnpm": {
11-
"version": "latest"
12-
},
13-
"ghcr.io/devcontainers-contrib/features/poetry": {
14-
"version": "latest"
15-
},
16-
"ghcr.io/devcontainers-contrib/features/projen:1": {}
17-
},
2+
"name": "PDK Image",
3+
"image": "public.ecr.aws/p9i6h6j0/aws-pdk:latest",
184
"customizations": {
195
"vscode": {
206
"extensions": [
@@ -23,7 +9,5 @@
239
"GitHub.vscode-github-actions"
2410
]
2511
}
26-
},
27-
"postCreateCommand": "sudo apt update && sudo apt upgrade -y",
28-
"postStartCommand": "sudo apt update"
12+
}
2913
}

packages/infrastructure/samples/infrastructure/java/src/java/groupId/constructs/websites/WebsiteConstruct.java.mustache

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package {{{groupId}}}.constructs.websites;
22

3+
import java.util.Arrays;
34
import java.util.Map;
45
import java.util.TreeMap;
56

packages/infrastructure/test/projects/java/__snapshots__/infrastructure-java-project.test.ts.snap

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)