Commit edfc49aa authored by 郭燕飞's avatar 郭燕飞 💬

fix

parent 995b7c6f
...@@ -7,6 +7,8 @@ import java.io.IOException; ...@@ -7,6 +7,8 @@ import java.io.IOException;
*/ */
public class GitlabAPIException extends IOException { public class GitlabAPIException extends IOException {
private static final long serialVersionUID = 2141938680478082113L;
private int responseCode; private int responseCode;
public GitlabAPIException(String message, Integer responseCode, Throwable cause) { public GitlabAPIException(String message, Integer responseCode, Throwable cause) {
......
...@@ -5,6 +5,7 @@ import org.gitlab.api.http.Query; ...@@ -5,6 +5,7 @@ import org.gitlab.api.http.Query;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
public class Pagination { public class Pagination {
public static final String PARAM_PAGE = "page"; public static final String PARAM_PAGE = "page";
public static final String PARAM_PER_PAGE = "per_page"; public static final String PARAM_PER_PAGE = "per_page";
public static final int MAX_ITEMS_PER_PAGE = 100; public static final int MAX_ITEMS_PER_PAGE = 100;
......
Markdown is supported
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