From 6d3848747ffdf29e26f568478cb9931eae96027f Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Tue, 25 Jun 2019 16:38:33 +0300 Subject: [PATCH] fix(cli): fix java app template (#3061) follow up on #3058 - since we renamed the core package namesapce to "software.amazon.awscdk.core" --- .../app/java/src/main/java/com/myorg/HelloApp.java | 2 +- .../app/java/src/main/java/com/myorg/HelloConstruct.java | 2 +- .../app/java/src/main/java/com/myorg/HelloStack.java | 8 ++++---- .../app/java/src/test/java/com/myorg/HelloStackTest.java | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloApp.java b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloApp.java index 5369b7168c113..3dba6791591f9 100644 --- a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloApp.java +++ b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloApp.java @@ -1,6 +1,6 @@ package com.myorg; -import software.amazon.awscdk.App; +import software.amazon.awscdk.core.App; import java.util.Arrays; diff --git a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstruct.java b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstruct.java index 3b57fa5725f4a..e5a73ba96ee3c 100644 --- a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstruct.java +++ b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloConstruct.java @@ -1,6 +1,6 @@ package com.myorg; -import software.amazon.awscdk.Construct; +import software.amazon.awscdk.core.Construct; import software.amazon.awscdk.services.iam.IGrantable; import software.amazon.awscdk.services.s3.Bucket; import software.amazon.awscdk.services.s3.BucketProps; diff --git a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloStack.java b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloStack.java index 1300735437e2d..eaff7d77c131a 100644 --- a/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloStack.java +++ b/packages/aws-cdk/lib/init-templates/app/java/src/main/java/com/myorg/HelloStack.java @@ -1,9 +1,9 @@ package com.myorg; -import software.amazon.awscdk.Construct; -import software.amazon.awscdk.Duration; -import software.amazon.awscdk.Stack; -import software.amazon.awscdk.StackProps; +import software.amazon.awscdk.core.Construct; +import software.amazon.awscdk.core.Duration; +import software.amazon.awscdk.core.Stack; +import software.amazon.awscdk.core.StackProps; import software.amazon.awscdk.services.iam.User; import software.amazon.awscdk.services.iam.UserProps; import software.amazon.awscdk.services.sns.Topic; diff --git a/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com/myorg/HelloStackTest.java b/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com/myorg/HelloStackTest.java index 29f42e42f7d1a..61ce1c866fe2a 100644 --- a/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com/myorg/HelloStackTest.java +++ b/packages/aws-cdk/lib/init-templates/app/java/src/test/java/com/myorg/HelloStackTest.java @@ -1,6 +1,6 @@ package com.myorg; -import software.amazon.awscdk.App; +import software.amazon.awscdk.core.App; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature;