Skip to content

Commit f7ef16d

Browse files
committed
SecurityContextHolder.getUserId(): fix indentation.
Should be in 234196d commit. No code changes.
1 parent 234196d commit f7ef16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/mystamps/web/support/spring/security/SecurityContextUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static boolean hasAuthority(HttpServletRequest request, String authority)
4040
* @author Sergey Chechenev
4141
*/
4242
public static Integer getUserId() {
43-
return Optional
43+
return Optional
4444
.ofNullable(SecurityContextHolder.getContext().getAuthentication())
4545
.map(Authentication::getPrincipal)
4646
.filter(CustomUserDetails.class::isInstance)

0 commit comments

Comments
 (0)