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
1de90b19c6
commit
128883eeda
1 changed files with 1 additions and 5 deletions
|
@ -16,10 +16,6 @@ public class UserService {
|
||||||
System.out.println("Main: sending notification to user " + 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) {
|
public void deleteUser(int userId) {
|
||||||
logDeletion(userId);
|
logDeletion(userId);
|
||||||
}
|
}
|
||||||
|
@ -27,4 +23,4 @@ public class UserService {
|
||||||
private void logDeletion(int userId) {
|
private void logDeletion(int userId) {
|
||||||
System.out.println("Main: user " + userId + " deleted");
|
System.out.println("Main: user " + userId + " deleted");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue