Commit 7d705afc authored by gmessner's avatar gmessner
Browse files

Changed method names so that they are prefixed with "on".

parent be42ba11
...@@ -14,7 +14,7 @@ public interface WebHookListener extends java.util.EventListener { ...@@ -14,7 +14,7 @@ public interface WebHookListener extends java.util.EventListener {
* *
* @param event the EventObject instance containing info on the issue * @param event the EventObject instance containing info on the issue
*/ */
public void issue (EventObject event); public void onIssue (EventObject event);
/**. /**.
...@@ -22,7 +22,7 @@ public interface WebHookListener extends java.util.EventListener { ...@@ -22,7 +22,7 @@ public interface WebHookListener extends java.util.EventListener {
* *
* @param event the EventObject instance containing info on the merge request * @param event the EventObject instance containing info on the merge request
*/ */
public void mergeRequest (EventObject event); public void onMergeRequest (EventObject event);
/** /**
...@@ -30,9 +30,7 @@ public interface WebHookListener extends java.util.EventListener { ...@@ -30,9 +30,7 @@ public interface WebHookListener extends java.util.EventListener {
* *
* @param pushEvent the PushEvent instance * @param pushEvent the PushEvent instance
*/ */
public void push (PushEvent pushEvent); public void onPush (PushEvent pushEvent);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment