Fix attribute return types in @PutExchange

The return types for the `value` and `url` attributes don't match those
in `@HttpExchange`.

See gh-28498
This commit is contained in:
Sam Brannen
2022-05-21 14:28:47 +02:00
parent 163bad38ef
commit ea9b1fccbd

View File

@@ -40,13 +40,13 @@ public @interface PutExchange {
* Alias for {@link HttpExchange#value}. * Alias for {@link HttpExchange#value}.
*/ */
@AliasFor(annotation = HttpExchange.class) @AliasFor(annotation = HttpExchange.class)
String[] value() default {}; String value() default "";
/** /**
* Alias for {@link HttpExchange#url()}. * Alias for {@link HttpExchange#url()}.
*/ */
@AliasFor(annotation = HttpExchange.class) @AliasFor(annotation = HttpExchange.class)
String[] url() default {}; String url() default "";
/** /**
* Alias for {@link HttpExchange#contentType()}. * Alias for {@link HttpExchange#contentType()}.