From db7c5d128b73bc2ad5fe4e438acbd1d85ab65d52 Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Mon, 11 Dec 2023 11:34:52 -0700 Subject: [PATCH] Fix Typos Closes gh-14268 --- .../access/expression/SecurityExpressionOperations.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionOperations.java b/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionOperations.java index b06d56df11..5863126c89 100644 --- a/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionOperations.java +++ b/core/src/main/java/org/springframework/security/access/expression/SecurityExpressionOperations.java @@ -125,7 +125,7 @@ public interface SecurityExpressionOperations { * given the permission * @param target the target domain object to check permission on * @param permission the permission to check on the domain object (i.e. "read", - * "write", etc). + * "write", etc.). * @return true if permission is granted to the {@link #getAuthentication()}, else * false */ @@ -136,8 +136,8 @@ public interface SecurityExpressionOperations { * object with a given id, type, and permission. * @param targetId the identifier of the domain object to determine access * @param targetType the type (i.e. com.example.domain.Message) - * @param permission the perission to check on the domain object (i.e. "read", - * "write", etc) + * @param permission the permission to check on the domain object (i.e. "read", + * "write", etc.) * @return true if permission is granted to the {@link #getAuthentication()}, else * false */