package data;

/**
 * Created by MagicMicky on 28/11/2014.
 */
public class HelloMessage extends Message {
    private static final MessageType type=MessageType.Hello;//TODO: change to enum Type
    private String userName;

    @Override
    public MessageType getType() {
        return type;
    }
}

@@ -200,16 +200,22 @@
 private 
+final 
 String u
@@ -224,16 +224,166 @@
 rName;%0A%0A
+    public HelloMessage(String userName) %7B%0A        this.userName = userName;%0A    %7D%0A%0A    public String getUserName() %7B%0A        return userName;%0A    %7D%0A%0A
     @Ove

Update hello message