Skip to content
Snippets Groups Projects
Commit da7204cf authored by Branden Boehr (bjb286)'s avatar Branden Boehr (bjb286)
Browse files

Revert "Merge remote-tracking branch 'origin/master'"

This reverts commit 83e52e34
parent 83e52e34
No related branches found
No related tags found
2 merge requests!48Feature detect program/launch application,!42Revert "Merge remote-tracking branch 'origin/master'"
......@@ -14,7 +14,7 @@ public class Action extends Hotkey implements InputEmulator{
* @param id The unique ID of the hotkey.
* @param modifier The modifier of the hotkey.
*/
public Action(int keyCode, int id, Modifier modifier) throws AWTException {
public Action(int keyCode, int id, int modifier) throws AWTException {
super(keyCode, id, modifier);
this.robot = new Robot();
......
......@@ -14,7 +14,7 @@ public class Hotkey {
/**
* Modifier for the hotkey.
*/
protected final Modifier modifier;
protected final int modifier;
/**
* Constructs an immutable hotkey.
......@@ -22,7 +22,7 @@ public class Hotkey {
* @param id The unique ID of the hotkey.
* @param modifier The modifier of the hotkey.
*/
public Hotkey(int keyCode, int id, Modifier modifier) {
public Hotkey(int keyCode, int id, int modifier) {
this.keyCode = keyCode;
this.id = id;
this.modifier = modifier;
......@@ -45,7 +45,7 @@ public class Hotkey {
/**
* Get's the hotkey's modifier.
*/
public Modifier getModifier() {
public int getModifier() {
return modifier;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment