package de.qabel.ackack;

/**
* Created by tox on 11/25/14.
*/
public class MessageInfo implements Cloneable {
    private Actor sender;
    private long time;
    private String type;

    public Actor getSender() {
        return sender;
    }

    public long getTime() {
        return time;
    }

    public String getType() {
        return type;
    }

    public void setSender(Actor sender) {
        this.sender = sender;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public void setType(String type) {
        this.type = type;
    }
    
    public void answer(final Object... data) {
    	this.sender.post(this, data);
    	
    }
}

@@ -631,16 +631,55 @@
  %7B%0A    %09
+if (this.sender != null) %7B%0A            
 this.sen
@@ -700,16 +700,23 @@
  data);%0A
+    %09%7D%0A
     %09%0A  

Check whether sender is set