Commit 3bd9b4d8 authored by Michaël van de Giessen's avatar Michaël van de Giessen
Browse files

renamed static vars to be consistent

parent 49cd870c
...@@ -5,7 +5,7 @@ import org.gitlab4j.api.utils.JacksonJson; ...@@ -5,7 +5,7 @@ import org.gitlab4j.api.utils.JacksonJson;
public class DeploymentEvent extends AbstractEvent { public class DeploymentEvent extends AbstractEvent {
public static final String JOB_HOOK_X_GITLAB_EVENT = "Deployment Hook"; public static final String X_GITLAB_EVENT = "Deployment Hook";
public static final String OBJECT_KIND = "deployment"; public static final String OBJECT_KIND = "deployment";
private String status; private String status;
......
...@@ -4,7 +4,7 @@ import org.gitlab4j.api.utils.JacksonJson; ...@@ -4,7 +4,7 @@ import org.gitlab4j.api.utils.JacksonJson;
public class ReleaseEvent extends AbstractEvent { public class ReleaseEvent extends AbstractEvent {
public static final String JOB_HOOK_X_GITLAB_EVENT = "Release Hook"; public static final String X_GITLAB_EVENT = "Release Hook";
public static final String OBJECT_KIND = "release"; public static final String OBJECT_KIND = "release";
private Integer id; private Integer id;
......
...@@ -105,8 +105,8 @@ public class WebHookManager implements HookManager { ...@@ -105,8 +105,8 @@ public class WebHookManager implements HookManager {
case PushEvent.X_GITLAB_EVENT: case PushEvent.X_GITLAB_EVENT:
case TagPushEvent.X_GITLAB_EVENT: case TagPushEvent.X_GITLAB_EVENT:
case WikiPageEvent.X_GITLAB_EVENT: case WikiPageEvent.X_GITLAB_EVENT:
case DeploymentEvent.JOB_HOOK_X_GITLAB_EVENT: case DeploymentEvent.X_GITLAB_EVENT:
case ReleaseEvent.JOB_HOOK_X_GITLAB_EVENT: case ReleaseEvent.X_GITLAB_EVENT:
break; break;
default: default:
......
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