package de.innoaccel.wamp.server.message;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

@JsonFormat()
public class EventMessage implements Message
{
    private String topicURI;

    private Object payload;

    public EventMessage(String topicURI, Object payload)
    {
        this.topicURI = topicURI;
        this.payload = payload;
    }

    @Override
    @JsonIgnore
    public int getMessageCode()
    {
        return Message.EVENT;
    }

    public String getTopicURI()
    {
        return topicURI;
    }

    public Object getPayload()
    {
        return payload;
    }
}

@@ -84,82 +84,16 @@
 Json
-Format;%0Aimport com.fasterxml.jackson.annotation.JsonIgnore;%0A%0A@JsonFormat()
+Ignore;%0A
 %0Apub

Remove unnecessary annotation