package se.kth.csc.payload.message;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import se.kth.csc.model.QueuePosition;

import java.util.Set;

@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)
public class QueueCleared {
    private final String name;
    private Set<QueuePosition> positions;

    public QueueCleared(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}

@@ -87,70 +87,8 @@
 nfo;
-%0Aimport se.kth.csc.model.QueuePosition;%0A%0Aimport java.util.Set;
 %0A%0A@J
@@ -189,50 +189,8 @@
 ame;
-%0A    private Set%3CQueuePosition%3E positions;
 %0A%0A  

remove unused imports and fields