Fix grammar

This commit is contained in:
Sam Brannen 2017-11-29 14:44:21 +01:00
parent 3650ecc3bb
commit 2b68212c20
1 changed files with 4 additions and 4 deletions

View File

@ -46,19 +46,19 @@ import org.springframework.web.cors.CorsConfiguration;
@Documented @Documented
public @interface CrossOrigin { public @interface CrossOrigin {
/** @deprecated as of Spring 5.0, in favor {@link CorsConfiguration#applyPermitDefaultValues} */ /** @deprecated as of Spring 5.0, in favor of {@link CorsConfiguration#applyPermitDefaultValues} */
@Deprecated @Deprecated
String[] DEFAULT_ORIGINS = { "*" }; String[] DEFAULT_ORIGINS = { "*" };
/** @deprecated as of Spring 5.0, in favor {@link CorsConfiguration#applyPermitDefaultValues} */ /** @deprecated as of Spring 5.0, in favor of {@link CorsConfiguration#applyPermitDefaultValues} */
@Deprecated @Deprecated
String[] DEFAULT_ALLOWED_HEADERS = { "*" }; String[] DEFAULT_ALLOWED_HEADERS = { "*" };
/** @deprecated as of Spring 5.0, in favor {@link CorsConfiguration#applyPermitDefaultValues} */ /** @deprecated as of Spring 5.0, in favor of {@link CorsConfiguration#applyPermitDefaultValues} */
@Deprecated @Deprecated
boolean DEFAULT_ALLOW_CREDENTIALS = false; boolean DEFAULT_ALLOW_CREDENTIALS = false;
/** @deprecated as of Spring 5.0, in favor {@link CorsConfiguration#applyPermitDefaultValues} */ /** @deprecated as of Spring 5.0, in favor of {@link CorsConfiguration#applyPermitDefaultValues} */
@Deprecated @Deprecated
long DEFAULT_MAX_AGE = 1800; long DEFAULT_MAX_AGE = 1800;