Commit 41e2fa5d445e5c39db41dc6f3d5b5de867b9b9bb

Authored by sfeutrie
1 parent 0e18634e

modifications mineures

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
PFE06/src/main/java/com/PFE/ServerManager/Team.java
... ... @@ -47,8 +47,8 @@ public class Team {
47 47 return customers;
48 48 }
49 49 public void addCustomer(Customer customer){
50   - if(updates == null){
51   - updates = new HashSet<>();
  50 + if(customers == null){
  51 + customers = new HashSet<>();
52 52 }
53 53 this.customers.add(customer);
54 54 }
... ...