@@ -68,7 +68,7 @@ private List<User> cleanNonActiveUsers() {
6868 Instant past = Instant .now ().minus (Period .ofDays (lastActivityDurationDays ));
6969 List <User > users = userRepository .findByLastActivityBefore (past );
7070
71- LOG .info (String .format ("Deleted %s users with no activity in the last %s days: %s " ,
71+ LOG .info (String .format ("Deleting %s users with no activity in the last %s days: %s " ,
7272 users .size (),
7373 lastActivityDurationDays ,
7474 users .stream ().map (User ::getEduPersonPrincipalName ).collect (Collectors .joining (", " ))));
@@ -82,7 +82,7 @@ private List<User> cleanNonActiveUsers() {
8282 private List <User > cleanOrphanedUser () {
8383 List <User > orphans = userRepository .findNonSuperUserWithoutUserRoles ();
8484
85- LOG .info (String .format ("Deleted %s non-super users with no userRoles; %s" ,
85+ LOG .info (String .format ("Deleting %s non-super users with no userRoles; %s" ,
8686 orphans .size (),
8787 orphans .stream ().map (User ::getEduPersonPrincipalName ).collect (Collectors .joining (", " ))));
8888
@@ -95,7 +95,7 @@ private List<User> cleanOrphanedUser() {
9595 private List <UserRole > cleanUserRoles () {
9696 List <UserRole > userRoles = userRoleRepository .findByEndDateBeforeAndExpiryNotifications (Instant .now (), 1 );
9797
98- LOG .info (String .format ("Deleted %s userRoles with an endDate in the past: %s" ,
98+ LOG .info (String .format ("Deleting %s userRoles with an endDate in the past: %s" ,
9999 userRoles .size (),
100100 userRoles .stream ()
101101 .map (userRole -> String .format ("%s - %s" , userRole .getUser ().getEduPersonPrincipalName (), userRole .getRole ().getName ()))
0 commit comments