diff --git a/src/main/java/fr/ntr/scheduler/MaxSNR.java b/src/main/java/fr/ntr/scheduler/MaxSNR.java index 9b7fd3a..21da04c 100644 --- a/src/main/java/fr/ntr/scheduler/MaxSNR.java +++ b/src/main/java/fr/ntr/scheduler/MaxSNR.java @@ -19,9 +19,6 @@ public class MaxSNR extends Scheduler { userMax.getPacketsSent().add(userMax.getPacketsToSend().get(0)); userMax.getPacketsToSend().remove(userMax.getPacketsToSend().get(0)); frame[ts][sp].setUser(selectionUtilisateur(sp, ts, users)); - if (userMax.getPacketsToSend() == null) { - users.remove(userMax); - } } } }