Skip to content

Commit

Permalink
Add JsonIgnore
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed Feb 10, 2024
1 parent 425db60 commit d925fa8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

import org.gitlab4j.api.webhook.MergeRequestEvent;

import com.fasterxml.jackson.annotation.JsonIgnore;

public class MergeRequestSystemHookEvent extends MergeRequestEvent implements SystemHookEvent {
private static final long serialVersionUID = 1L;

Expand Down Expand Up @@ -38,6 +40,7 @@ public void setEventType(String eventType) {
* @param eventType
*/
@Deprecated
@JsonIgnore
public void setEvent_type(String eventType) {
setEventType(eventType);
}
Expand Down

0 comments on commit d925fa8

Please sign in to comment.