[Demonstration 1]

[Buggy Method]
public String getIPAdress() {
    if (_socket != null) {
        System.out.println("L'ip que je dois afficher est : " + _socket.getInetAddress().getHostAddress() + "/" + _socket.getLocalPort());
        return _socket.getInetAddress().getHostAddress() + "/" + _port;
    } else
        return null;
}

[Buggy Hunk]
return _socket.getInetAddress().getHostAddress()+"/"+_port;

[Patch]
return _socket.getInetAddress().getHostAddress()+"/"+_socket.getLocalPort();

[Demonstration 2]

[Buggy Method]
public String getIPAddress() {
    return socket.getLocalAddress().getHostAddress();
}

[Buggy Hunk]
return socket.getLocalAddress().getHostAddress();

[Patch]
return ipAddress;

[Demonstration 3]

[Buggy Method]
private void onAttachmentSelected() {
    attachmentItems.add(null);
}

[Buggy Hunk]
attachmentItems.add(null);

[Patch]
attachmentItems.add(new AttachmentsItem(null, editMode));