package events;

import javafx.beans.value.ObservableValue;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyEvent;

public class KeyReleaseTrigger extends KeyTrigger {

	public KeyReleaseTrigger(KeyCode key) {
		super(key);
	}

	@Override
	public void changed(ObservableValue observable, Object oldValue, Object newValue) {
        if (((KeyEvent) newValue).getCode() == getKeyCode()) {
            setChanged();
            notifyObservers();
        }
    }
}

@@ -1,8 +1,10 @@
+/*
 package 
@@ -472,9 +472,11 @@
 %0A    %7D%0A%7D
+*/
 %0A

Update KeyReleaseTrigger.java