mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 05:25:50 +00:00
Update UserService.java
Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
parent
1e7674896c
commit
e63769936d
1 changed files with 4 additions and 3 deletions
|
@ -4,15 +4,16 @@ public class UserService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isUserActive(int userId) {
|
public boolean isUserActive(int userId) {
|
||||||
return false;
|
System.out.println("Checking DB for active user");
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateUserStatus(int userId, boolean isActive) {
|
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) {
|
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) {
|
public void deleteUser(int userId) {
|
||||||
|
|
Loading…
Reference in a new issue