Skip to content

Commit 4ceda81

Browse files
committed
Minor polishing
1 parent e501422 commit 4ceda81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/io/kafbat/ui/controller/AccessController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Mono<ResponseEntity<AuthenticationInfoDTO>> getUserAuthInfo(ServerWebExch
4545
.map(SecurityContext::getAuthentication)
4646
.map(Principal::getName);
4747

48-
AuthenticationInfoDTO.AuthenticationInfoDTOBuilder<?, ?> builder = AuthenticationInfoDTO.builder()
48+
var builder = AuthenticationInfoDTO.builder()
4949
.rbacEnabled(accessControlService.isRbacEnabled());
5050

5151
return userName

0 commit comments

Comments
 (0)