From bd6e91b8710bc136286b224a303a9a583e4483b6 Mon Sep 17 00:00:00 2001 From: LionTao Date: Thu, 26 Jan 2023 05:11:28 +0800 Subject: [PATCH] Add ElementType.Type to ActorType (#812) Signed-off-by: LionTao Signed-off-by: LionTao Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com> Co-authored-by: Artur Souza --- sdk-actors/src/main/java/io/dapr/actors/ActorType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-actors/src/main/java/io/dapr/actors/ActorType.java b/sdk-actors/src/main/java/io/dapr/actors/ActorType.java index 2c02d90ab..86129ca90 100644 --- a/sdk-actors/src/main/java/io/dapr/actors/ActorType.java +++ b/sdk-actors/src/main/java/io/dapr/actors/ActorType.java @@ -23,7 +23,7 @@ * Annotation to define Actor class. */ @Documented -@Target(ElementType.TYPE_USE) +@Target({ElementType.TYPE_USE, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface ActorType {