Skip to content

Commit

Permalink
chore: remove explicit typing in java
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Jan 6, 2023
1 parent ca804b6 commit 37e290a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public MainIterator(Construct scope, String id) {
.build());

// DOCS_BLOCK_START:iterators-iterators-complex-types
TerraformLocal myComplexLocal = new TerraformLocal(this, "my-map", new HashMap<String, HashMap<String, ?>>() {
TerraformLocal myComplexLocal = new TerraformLocal(this, "my-map", new HashMap() {
{
put("website", new HashMap() {
{
Expand Down
2 changes: 1 addition & 1 deletion website/docs/cdktf/concepts/iterators.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class IteratorsStack extends TerraformStack {
import imports.aws.s3_bucket.S3Bucket;
import imports.aws.s3_bucket.S3BucketConfig;

TerraformLocal myComplexLocal = new TerraformLocal(this, "my-map", new HashMap<String, HashMap<String, ?>>() {
TerraformLocal myComplexLocal = new TerraformLocal(this, "my-map", new HashMap() {
{
put("website", new HashMap() {
{
Expand Down

0 comments on commit 37e290a

Please sign in to comment.