import org.jboss.aerogear.unifiedpush.api.VariantType;
import org.jboss.aerogear.unifiedpush.message.UnifiedPushMessage;
public class MessageHolderWithVariants extends AbstractMessageHolder implements Serializable {
private static final long serialVersionUID = -7955411139315335655L;
private VariantType variantType;
<BUG>private Collection<Variant> variants;
private String lastTokenFromPreviousBatch;</BUG>
public MessageHolderWithVariants(PushMessageInformation pushMessageInformation, UnifiedPushMessage unifiedPushMessage, VariantType variantType, Collection<Variant> variants) {
<BUG>this(pushMessageInformation, unifiedPushMessage, variantType, variants, null);
</BUG>
}

import org.jboss.aerogear.unifiedpush.api.VariantType;
import org.jboss.aerogear.unifiedpush.message.UnifiedPushMessage;
public class MessageHolderWithVariants extends AbstractMessageHolder implements Serializable {
private static final long serialVersionUID = -7955411139315335655L;
private VariantType variantType;
private Collection<Variant> variants;
private int lastSerialId;
private String lastTokenFromPreviousBatch;
public MessageHolderWithVariants(PushMessageInformation pushMessageInformation, UnifiedPushMessage unifiedPushMessage, VariantType variantType, Collection<Variant> variants) {
this(pushMessageInformation, unifiedPushMessage, variantType, variants, 0, null);
