Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
764787fa
Commit
764787fa
authored
Mar 04, 2014
by
Greg Messner
Browse files
Changed boolean to Boolean.
parent
41f6f41f
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/messners/gitlab/api/models/Branch.java
View file @
764787fa
...
@@ -11,7 +11,7 @@ public class Branch {
...
@@ -11,7 +11,7 @@ public class Branch {
private
Commit
commit
;
private
Commit
commit
;
private
String
name
;
private
String
name
;
private
b
oolean
isProtected
;
private
B
oolean
isProtected
;
public
Commit
getCommit
()
{
public
Commit
getCommit
()
{
return
this
.
commit
;
return
this
.
commit
;
...
@@ -29,11 +29,11 @@ public class Branch {
...
@@ -29,11 +29,11 @@ public class Branch {
this
.
name
=
name
;
this
.
name
=
name
;
}
}
public
b
oolean
getProtected
()
{
public
B
oolean
getProtected
()
{
return
this
.
isProtected
;
return
this
.
isProtected
;
}
}
public
void
setProtected
(
b
oolean
isProtected
)
{
public
void
setProtected
(
B
oolean
isProtected
)
{
this
.
isProtected
=
isProtected
;
this
.
isProtected
=
isProtected
;
}
}
}
}
src/main/java/com/messners/gitlab/api/models/Project.java
View file @
764787fa
...
@@ -17,22 +17,22 @@ public class Project {
...
@@ -17,22 +17,22 @@ public class Project {
private
String
description
;
private
String
description
;
private
String
httpUrlToRepo
;
private
String
httpUrlToRepo
;
private
Integer
id
;
private
Integer
id
;
private
b
oolean
issuesEnabled
;
private
B
oolean
issuesEnabled
;
private
Date
lastActivityAt
;
private
Date
lastActivityAt
;
private
b
oolean
mergeRequestsEnabled
;
private
B
oolean
mergeRequestsEnabled
;
private
String
name
;
private
String
name
;
private
String
nameWithNamespace
;
private
String
nameWithNamespace
;
private
Namespace
namespace
;
private
Namespace
namespace
;
private
Owner
owner
;
private
Owner
owner
;
private
String
path
;
private
String
path
;
private
String
pathWithNamespace
;
private
String
pathWithNamespace
;
private
b
oolean
isPublic
;
private
B
oolean
isPublic
;
private
b
oolean
snippetsEnabled
;
private
B
oolean
snippetsEnabled
;
private
String
sshUrlToRepo
;
private
String
sshUrlToRepo
;
private
Integer
visibilityLevel
;
private
Integer
visibilityLevel
;
private
b
oolean
wallEnabled
;
private
B
oolean
wallEnabled
;
private
String
webUrl
;
private
String
webUrl
;
private
b
oolean
wikiEnabled
;
private
B
oolean
wikiEnabled
;
public
Date
getCreatedAt
()
{
public
Date
getCreatedAt
()
{
return
this
.
createdAt
;
return
this
.
createdAt
;
...
@@ -74,11 +74,11 @@ public class Project {
...
@@ -74,11 +74,11 @@ public class Project {
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
b
oolean
getIssuesEnabled
()
{
public
B
oolean
getIssuesEnabled
()
{
return
this
.
issuesEnabled
;
return
this
.
issuesEnabled
;
}
}
public
void
setIssuesEnabled
(
b
oolean
issuesEnabled
)
{
public
void
setIssuesEnabled
(
B
oolean
issuesEnabled
)
{
this
.
issuesEnabled
=
issuesEnabled
;
this
.
issuesEnabled
=
issuesEnabled
;
}
}
...
@@ -90,11 +90,11 @@ public class Project {
...
@@ -90,11 +90,11 @@ public class Project {
this
.
lastActivityAt
=
lastActivityAt
;
this
.
lastActivityAt
=
lastActivityAt
;
}
}
public
b
oolean
getMergeRequestsEnabled
()
{
public
B
oolean
getMergeRequestsEnabled
()
{
return
this
.
mergeRequestsEnabled
;
return
this
.
mergeRequestsEnabled
;
}
}
public
void
setMergeRequestsEnabled
(
b
oolean
mergeRequestsEnabled
)
{
public
void
setMergeRequestsEnabled
(
B
oolean
mergeRequestsEnabled
)
{
this
.
mergeRequestsEnabled
=
mergeRequestsEnabled
;
this
.
mergeRequestsEnabled
=
mergeRequestsEnabled
;
}
}
...
@@ -146,19 +146,19 @@ public class Project {
...
@@ -146,19 +146,19 @@ public class Project {
this
.
pathWithNamespace
=
pathWithNamespace
;
this
.
pathWithNamespace
=
pathWithNamespace
;
}
}
public
b
oolean
getPublic
()
{
public
B
oolean
getPublic
()
{
return
this
.
isPublic
;
return
this
.
isPublic
;
}
}
public
void
setPublic
(
b
oolean
isPublic
)
{
public
void
setPublic
(
B
oolean
isPublic
)
{
this
.
isPublic
=
isPublic
;
this
.
isPublic
=
isPublic
;
}
}
public
b
oolean
getSnippetsEnabled
()
{
public
B
oolean
getSnippetsEnabled
()
{
return
this
.
snippetsEnabled
;
return
this
.
snippetsEnabled
;
}
}
public
void
setSnippetsEnabled
(
b
oolean
snippetsEnabled
)
{
public
void
setSnippetsEnabled
(
B
oolean
snippetsEnabled
)
{
this
.
snippetsEnabled
=
snippetsEnabled
;
this
.
snippetsEnabled
=
snippetsEnabled
;
}
}
...
@@ -178,11 +178,11 @@ public class Project {
...
@@ -178,11 +178,11 @@ public class Project {
this
.
visibilityLevel
=
visibilityLevel
;
this
.
visibilityLevel
=
visibilityLevel
;
}
}
public
b
oolean
getWallEnabled
()
{
public
B
oolean
getWallEnabled
()
{
return
this
.
wallEnabled
;
return
this
.
wallEnabled
;
}
}
public
void
setWallEnabled
(
b
oolean
wallEnabled
)
{
public
void
setWallEnabled
(
B
oolean
wallEnabled
)
{
this
.
wallEnabled
=
wallEnabled
;
this
.
wallEnabled
=
wallEnabled
;
}
}
...
@@ -194,11 +194,11 @@ public class Project {
...
@@ -194,11 +194,11 @@ public class Project {
this
.
webUrl
=
webUrl
;
this
.
webUrl
=
webUrl
;
}
}
public
b
oolean
getWikiEnabled
()
{
public
B
oolean
getWikiEnabled
()
{
return
this
.
wikiEnabled
;
return
this
.
wikiEnabled
;
}
}
public
void
setWikiEnabled
(
b
oolean
wikiEnabled
)
{
public
void
setWikiEnabled
(
B
oolean
wikiEnabled
)
{
this
.
wikiEnabled
=
wikiEnabled
;
this
.
wikiEnabled
=
wikiEnabled
;
}
}
}
}
src/main/java/com/messners/gitlab/api/models/Session.java
View file @
764787fa
...
@@ -11,15 +11,15 @@ import javax.xml.bind.annotation.XmlRootElement;
...
@@ -11,15 +11,15 @@ import javax.xml.bind.annotation.XmlRootElement;
public
class
Session
{
public
class
Session
{
private
String
bio
;
private
String
bio
;
private
b
oolean
blocked
;
private
B
oolean
blocked
;
private
b
oolean
canCreateGroup
;
private
B
oolean
canCreateGroup
;
private
b
oolean
canCreateProject
;
private
B
oolean
canCreateProject
;
private
b
oolean
canCreateTeam
;
private
B
oolean
canCreateTeam
;
private
Date
createdAt
;
private
Date
createdAt
;
private
b
oolean
darkScheme
;
private
B
oolean
darkScheme
;
private
String
email
;
private
String
email
;
private
Integer
id
;
private
Integer
id
;
private
b
oolean
isAdmin
;
private
B
oolean
isAdmin
;
private
String
linkedin
;
private
String
linkedin
;
private
String
name
;
private
String
name
;
private
String
privateToken
;
private
String
privateToken
;
...
@@ -37,35 +37,35 @@ public class Session {
...
@@ -37,35 +37,35 @@ public class Session {
this
.
bio
=
bio
;
this
.
bio
=
bio
;
}
}
public
b
oolean
getBlocked
()
{
public
B
oolean
getBlocked
()
{
return
this
.
blocked
;
return
this
.
blocked
;
}
}
public
void
setBlocked
(
b
oolean
blocked
)
{
public
void
setBlocked
(
B
oolean
blocked
)
{
this
.
blocked
=
blocked
;
this
.
blocked
=
blocked
;
}
}
public
b
oolean
getCanCreateGroup
()
{
public
B
oolean
getCanCreateGroup
()
{
return
this
.
canCreateGroup
;
return
this
.
canCreateGroup
;
}
}
public
void
setCanCreateGroup
(
b
oolean
canCreateGroup
)
{
public
void
setCanCreateGroup
(
B
oolean
canCreateGroup
)
{
this
.
canCreateGroup
=
canCreateGroup
;
this
.
canCreateGroup
=
canCreateGroup
;
}
}
public
b
oolean
getCanCreateProject
()
{
public
B
oolean
getCanCreateProject
()
{
return
this
.
canCreateProject
;
return
this
.
canCreateProject
;
}
}
public
void
setCanCreateProject
(
b
oolean
canCreateProject
)
{
public
void
setCanCreateProject
(
B
oolean
canCreateProject
)
{
this
.
canCreateProject
=
canCreateProject
;
this
.
canCreateProject
=
canCreateProject
;
}
}
public
b
oolean
getCanCreateTeam
()
{
public
B
oolean
getCanCreateTeam
()
{
return
this
.
canCreateTeam
;
return
this
.
canCreateTeam
;
}
}
public
void
setCanCreateTeam
(
b
oolean
canCreateTeam
)
{
public
void
setCanCreateTeam
(
B
oolean
canCreateTeam
)
{
this
.
canCreateTeam
=
canCreateTeam
;
this
.
canCreateTeam
=
canCreateTeam
;
}
}
...
@@ -77,11 +77,11 @@ public class Session {
...
@@ -77,11 +77,11 @@ public class Session {
this
.
createdAt
=
createdAt
;
this
.
createdAt
=
createdAt
;
}
}
public
b
oolean
getDarkScheme
()
{
public
B
oolean
getDarkScheme
()
{
return
this
.
darkScheme
;
return
this
.
darkScheme
;
}
}
public
void
setDarkScheme
(
b
oolean
darkScheme
)
{
public
void
setDarkScheme
(
B
oolean
darkScheme
)
{
this
.
darkScheme
=
darkScheme
;
this
.
darkScheme
=
darkScheme
;
}
}
...
@@ -101,11 +101,11 @@ public class Session {
...
@@ -101,11 +101,11 @@ public class Session {
this
.
id
=
id
;
this
.
id
=
id
;
}
}
public
b
oolean
getIsAdmin
()
{
public
B
oolean
getIsAdmin
()
{
return
this
.
isAdmin
;
return
this
.
isAdmin
;
}
}
public
void
setIsAdmin
(
b
oolean
isAdmin
)
{
public
void
setIsAdmin
(
B
oolean
isAdmin
)
{
this
.
isAdmin
=
isAdmin
;
this
.
isAdmin
=
isAdmin
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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