Fix attribute return types in @DeleteExchange and @PatchExchange

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

Closes gh-28498
This commit is contained in:
Eddú Meléndez
2022-05-21 02:53:47 -05:00
committed by Sam Brannen
parent d0afbe40e6
commit 163bad38ef
2 changed files with 4 additions and 4 deletions

View File

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

View File

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