diff --git a/PFE06/src/main/java/com/PFE/ServerManager/Team.java b/PFE06/src/main/java/com/PFE/ServerManager/Team.java index 8ea9fed..b9fc113 100644 --- a/PFE06/src/main/java/com/PFE/ServerManager/Team.java +++ b/PFE06/src/main/java/com/PFE/ServerManager/Team.java @@ -47,8 +47,8 @@ public class Team { return customers; } public void addCustomer(Customer customer){ - if(updates == null){ - updates = new HashSet<>(); + if(customers == null){ + customers = new HashSet<>(); } this.customers.add(customer); } -- libgit2 0.21.2