[Demonstration 1]

[Buggy Method]
public Author getById(final String id) {
    return this.dataAcces.getById(id);
}

[Buggy Hunk]
return this.dataAcces.getById(id);

[Patch]
return this.dataAccess.getById(id);

[Demonstration 2]

[Buggy Method]
@NotNull
private net.openhft.lang.io.Bytes toLangBytes(@NotNull BytesStore b) {
    if (b.underlyingObject() == null)
        return wrap(b.address(b.start()), b.readRemaining());
    else {
        ByteBuffer buffer = (ByteBuffer) b.underlyingObject();
        IByteBufferBytes wrap = ByteBufferBytes.wrap(buffer);
        wrap.limit((int) b.readLimit());
        return wrap;
    }
}

[Buggy Hunk]
ByteBuffer buffer = (ByteBuffer) b.underlyingObject();

[Patch]
ByteBuffer buffer = ByteBuffer.wrap((byte[]) b.underlyingObject());

[Demonstration 3]

[Buggy Method]
private void init() {
    glfwSetErrorCallback(errorCallback = errorCallbackPrint(System.err));
    if (glfwInit() != GL11.GL_TRUE)
        throw new IllegalStateException("Unable to initialize GLFW");
    glfwDefaultWindowHints();
    glfwWindowHint(GLFW_VISIBLE, GL_FALSE);
    glfwWindowHint(GLFW_RESIZABLE, windowInitalizer.resizeable ? GL_TRUE : GL_FALSE);
    window = glfwCreateWindow(windowInitalizer.width, windowInitalizer.height, windowInitalizer.windowName, NULL, NULL);
    if (window == NULL)
        throw new RuntimeException("Failed to create the GLFW window");
    glfwSetKeyCallback(window, keyCallback = new GLFWKeyCallback() {

        @Override
        public void invoke(long window, int key, int scancode, int action, int mods) {
            if (key == GLFW_KEY_ESCAPE && action == GLFW_RELEASE)
                glfwSetWindowShouldClose(window, GL_TRUE);
        }
    });
    ByteBuffer vidmode = glfwGetVideoMode(glfwGetPrimaryMonitor());
    glfwSetWindowPos(window, (GLFWvidmode.width(vidmode) - windowInitalizer.height) / 2, (GLFWvidmode.height(vidmode) - windowInitalizer.width) / 2);
    glfwMakeContextCurrent(window);
    glfwSwapInterval(windowInitalizer.vSync ? 1 : 0);
    glfwShowWindow(window);
}

[Buggy Hunk]
glfwSetWindowPos(window, (GLFWvidmode.width(vidmode)-windowInitalizer.height)/2, (GLFWvidmode.height(vidmode)-windowInitalizer.width)/2);

[Patch]
glfwSetWindowPos(window, (GLFWvidmode.width(vidmode)-windowInitalizer.width)/2, (GLFWvidmode.height(vidmode)-windowInitalizer.height)/2);