[Demonstration 1]

[Buggy Method]
@Test
public void testVerifyKey() throws MalformedURLException {
    Credentials credentials = buildCredentials();
    Assert.assertNotNull(credentials);
    Assert.assertNotNull(credentials.getVersion());
    Assert.assertTrue("Credentials cannot be verified", credentials.verify());
    status = credentials.getStatus();
    Assert.assertNotNull(status);
    Assert.assertTrue(TEST_DATASET + " not found", status.getDatasets().contains(TEST_DATASET));
}

[Buggy Hunk]
public void testVerifyKey() throws MalformedURLException {

[Patch]
public void testVerifyKey() throws IOException, URISyntaxException {

[Demonstration 2]

[Buggy Method]
protected Iterator<BaseFragmentOption> getFragments() {
    try {
        return FactoryGroupConfigurationFragments.getCreatorFragments();
    } catch (Exception e) {
        //TODO HANDLE EXCEPTION
        return null;
    }
}

[Buggy Hunk]
return FactoryGroupConfigurationFragments.getCreatorFragments();

[Patch]
return factoryFragments.getFragments();

[Demonstration 3]

[Buggy Method]
private void manageDragEvent(MouseEvent event) {
    if (!node.draggingProperty().get() && !(node.getParentContainer() instanceof SingleDockContainer)) {
        if (!node.maximizingProperty().get()) {
            Bounds bounds = node.localToScreen(barPanel.getBoundsInLocal());
            deltaDragging = new Point2D(event.getScreenX() - bounds.getMinX(), event.getScreenY() - bounds.getMinY());
            node.enableDraggingOnPosition(event.getScreenX() - deltaDragging.getX(), event.getScreenY() - deltaDragging.getY());
        }
    } else {
        if (node.getFloatableStage() != null && !node.getFloatableStage().inResizing() && node.draggingProperty().get()) {
            if (!node.maximizingProperty().get()) {
                node.moveFloatable(event.getScreenX() - deltaDragging.getX(), event.getScreenY() - deltaDragging.getY());
                node.getStation().searchTargetNode(event.getScreenX(), event.getScreenY());
            }
        }
    }
}

[Buggy Hunk]
if (!node.draggingProperty().get() && !(node.getParentContainer() instanceof SingleDockContainer)) {

[Patch]
if (!node.draggingProperty().get()) {