From e535523c36d4eb0e4db543b5d0c0847b403fbd2b Mon Sep 17 00:00:00 2001 From: MarcGiffing Date: Fri, 25 Oct 2024 20:44:04 +0200 Subject: [PATCH] Manage RateLimiting meta-annotation #352 (#355) --- .../bucket4j/spring/boot/starter/context/RateLimiting.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/RateLimiting.java b/bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/RateLimiting.java index 7ffe0a47..65336bca 100644 --- a/bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/RateLimiting.java +++ b/bucket4j-spring-boot-starter-context/src/main/java/com/giffing/bucket4j/spring/boot/starter/context/RateLimiting.java @@ -1,12 +1,10 @@ package com.giffing.bucket4j.spring.boot.starter.context; -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; +import java.lang.annotation.*; @Target(value = {ElementType.TYPE, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) +@Inherited public @interface RateLimiting { /**