From 50b72dddbc7f76bfa239eda30ef8f656a5a70022 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Fri, 21 Oct 2016 09:17:33 +0900 Subject: [PATCH] Fix typo in Javadoc This commit simply fixes typo in Javadoc. --- .../security/web/csrf/CookieCsrfTokenRepository.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/main/java/org/springframework/security/web/csrf/CookieCsrfTokenRepository.java b/web/src/main/java/org/springframework/security/web/csrf/CookieCsrfTokenRepository.java index 7b17277c5a..98a2815f7f 100644 --- a/web/src/main/java/org/springframework/security/web/csrf/CookieCsrfTokenRepository.java +++ b/web/src/main/java/org/springframework/security/web/csrf/CookieCsrfTokenRepository.java @@ -29,7 +29,7 @@ import org.springframework.util.StringUtils; import org.springframework.web.util.WebUtils; /** - * A {@link CsrfTokenRepository} that persist the CSRF token in a cookie named + * A {@link CsrfTokenRepository} that persists the CSRF token in a cookie named * "XSRF-TOKEN" and reads from the header "X-XSRF-TOKEN" following the conventions of * AngularJS. When using with AngularJS be sure to use {@link #withHttpOnlyFalse()}. * @@ -163,7 +163,7 @@ public final class CookieCsrfTokenRepository implements CsrfTokenRepository { * Factory method to conveniently create an instance that has * {@link #setCookieHttpOnly(boolean)} set to false. * - * @return and instance of CookieCsrfTokenRepository with + * @return an instance of CookieCsrfTokenRepository with * {@link #setCookieHttpOnly(boolean)} set to false */ public static CookieCsrfTokenRepository withHttpOnlyFalse() { @@ -177,7 +177,7 @@ public final class CookieCsrfTokenRepository implements CsrfTokenRepository { } /** - * Set the path that the Cookie will be created with. This will will override the default functionality which uses the + * Set the path that the Cookie will be created with. This will override the default functionality which uses the * request context as the path. * * @param path the path to use