Skip to content

Commit

Permalink
Add missing Serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini committed Dec 21, 2023
1 parent f6af926 commit 018fe99
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@

package org.gitlab4j.api.models;

import java.io.Serializable;

import org.gitlab4j.api.utils.JacksonJson;

public class RepositoryFileResponse {
public class RepositoryFileResponse implements Serializable {
private static final long serialVersionUID = 1L;

private String filePath; // full path to file. Ex. lib/class.rb
private String branch;
Expand Down
4 changes: 3 additions & 1 deletion src/main/java/org/gitlab4j/api/webhook/EventLabel.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.gitlab4j.api.webhook;

import java.io.Serializable;
import java.util.Date;

import org.gitlab4j.api.utils.JacksonJson;
Expand All @@ -8,7 +9,8 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

public class EventLabel {
public class EventLabel implements Serializable {
private static final long serialVersionUID = 1L;

public enum LabelType {

Expand Down

0 comments on commit 018fe99

Please sign in to comment.