diff --git a/core/src/main/java/com/linecorp/armeria/server/annotation/Attribute.java b/core/src/main/java/com/linecorp/armeria/server/annotation/Attribute.java index 6862a295755..a862df59ee3 100644 --- a/core/src/main/java/com/linecorp/armeria/server/annotation/Attribute.java +++ b/core/src/main/java/com/linecorp/armeria/server/annotation/Attribute.java @@ -26,7 +26,8 @@ import io.netty.util.AttributeKey; /** - * Annotation for mapping an attribute of the given {@link AttributeKey}, retrieved from a {@link RequestContext}, onto the following elements. + * Annotation for mapping an attribute of the given {@link AttributeKey}, retrieved + * from a {@link RequestContext}, onto the following elements. */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) @@ -39,8 +40,8 @@ String value(); /** - * The class of the {@link AttributeKey} to bind to. - * If you created an {@link AttributeKey} with {@code AttributeKey.valueOf(MyAttributeKeys.class, "INT_ATTR")}, + * The class of the {@link AttributeKey} to bind to. If you created an {@link AttributeKey} with + * {@code AttributeKey.valueOf(MyAttributeKeys.class, "INT_ATTR")}, * the {@link #prefix} should be {@code MyAttributeKeys.class}. * See advanced-customer-attributes. */ diff --git a/core/src/test/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolverTest.java b/core/src/test/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolverTest.java index 7b3ec7de0ce..e0128493b38 100644 --- a/core/src/test/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolverTest.java +++ b/core/src/test/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolverTest.java @@ -39,7 +39,6 @@ import java.time.ZoneOffset; import java.time.ZonedDateTime; import java.util.ArrayList; -import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map;