Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
java-gitlab-api
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
沈俊林
java-gitlab-api
Commits
edfc49aa
Commit
edfc49aa
authored
Aug 30, 2019
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
995b7c6f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
GitlabAPIException.java
src/main/java/org/gitlab/api/GitlabAPIException.java
+2
-0
Pagination.java
src/main/java/org/gitlab/api/Pagination.java
+7
-6
No files found.
src/main/java/org/gitlab/api/GitlabAPIException.java
View file @
edfc49aa
...
@@ -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
)
{
...
...
src/main/java/org/gitlab/api/Pagination.java
View file @
edfc49aa
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment