mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
Update UserService.java
Signed-off-by: jeet041 <mahorjitendra@gmail.com>
This commit is contained in:
parent
be98d82213
commit
aa9228bf8b
1 changed files with 4 additions and 1 deletions
|
@ -15,6 +15,9 @@ public class UserService {
|
|||
public void notifyUser(int userId) {
|
||||
System.out.println("Main: sending notification to user " + userId);
|
||||
}
|
||||
public void notifyUser2(int userId) {
|
||||
System.out.println("main: sending notification to user " + userId);
|
||||
}
|
||||
|
||||
public void deleteUser(int userId) {
|
||||
logDeletion(userId);
|
||||
|
@ -23,4 +26,4 @@ public class UserService {
|
|||
private void logDeletion(int userId) {
|
||||
System.out.println("Main: user " + userId + " deleted");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue