Polish javadoc

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
This commit is contained in:
Tran Ngoc Nhan 2025-08-06 18:55:54 +07:00 committed by Josh Cummings
parent 08fa272749
commit dcd7490ddd
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ import org.springframework.util.PropertyPlaceholderHelper;
*
* <pre>
* &#64;PreAuthorize("hasRole({role})")
* public @annotation HasRole {
* public @interface HasRole {
* String role();
* }
* </pre>

View File

@ -30,7 +30,7 @@ package org.springframework.security.core.annotation;
* return switch (this) {
* case READ -> "user.permission-read";
* case WRITE -> "user.permission-write";
* }
* };
* }
*
* }