Update UserService.java

Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
jeet041 2025-04-24 01:17:58 +05:30 committed by GitHub
parent 1e7674896c
commit e63769936d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,15 +4,16 @@ public class UserService {
}
public boolean isUserActive(int userId) {
return false;
System.out.println("Checking DB for active user");
return true;
}
public void updateUserStatus(int userId, boolean isActive) {
System.out.println("Feature branch: updating status to " + isActive);
System.out.println("Main branch: status set to " + isActive);
}
public void notifyUser(int userId) {
System.out.println("Feature branch: notifying user " + userId);
System.out.println("Main: sending notification to user " + userId);
}
public void deleteUser(int userId) {