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
3526b07c
Commit
3526b07c
authored
Jul 05, 2018
by
Greg Messner
Browse files
Moved reordered properties.
parent
9fbcbf9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/webhook/MergeRequestEvent.java
View file @
3526b07c
...
@@ -13,8 +13,8 @@ public class MergeRequestEvent implements Event {
...
@@ -13,8 +13,8 @@ public class MergeRequestEvent implements Event {
private
User
user
;
private
User
user
;
private
EventProject
project
;
private
EventProject
project
;
private
ObjectAttributes
objectAttributes
;
private
EventRepository
repository
;
private
EventRepository
repository
;
private
ObjectAttributes
objectAttributes
;
public
String
getObjectKind
()
{
public
String
getObjectKind
()
{
return
(
OBJECT_KIND
);
return
(
OBJECT_KIND
);
...
@@ -41,14 +41,6 @@ public class MergeRequestEvent implements Event {
...
@@ -41,14 +41,6 @@ public class MergeRequestEvent implements Event {
this
.
project
=
project
;
this
.
project
=
project
;
}
}
public
ObjectAttributes
getObjectAttributes
()
{
return
this
.
objectAttributes
;
}
public
void
setObjectAttributes
(
ObjectAttributes
objectAttributes
)
{
this
.
objectAttributes
=
objectAttributes
;
}
public
EventRepository
getRepository
()
{
public
EventRepository
getRepository
()
{
return
repository
;
return
repository
;
}
}
...
@@ -57,6 +49,14 @@ public class MergeRequestEvent implements Event {
...
@@ -57,6 +49,14 @@ public class MergeRequestEvent implements Event {
this
.
repository
=
repository
;
this
.
repository
=
repository
;
}
}
public
ObjectAttributes
getObjectAttributes
()
{
return
this
.
objectAttributes
;
}
public
void
setObjectAttributes
(
ObjectAttributes
objectAttributes
)
{
this
.
objectAttributes
=
objectAttributes
;
}
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
public
static
class
ObjectAttributes
extends
EventMergeRequest
{
public
static
class
ObjectAttributes
extends
EventMergeRequest
{
}
}
...
...
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