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
01f1ed12
Commit
01f1ed12
authored
Apr 11, 2019
by
Greg Messner
Browse files
Initial commit (#325, #331).
parent
35773f40
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/webhook/ChangeContainer.java
0 → 100644
View file @
01f1ed12
package
org.gitlab4j.api.webhook
;
import
org.gitlab4j.api.utils.JacksonJson
;
public
class
ChangeContainer
<
T
>
{
private
T
previous
;
private
T
current
;
public
T
getPrevious
()
{
return
previous
;
}
public
void
setPrevious
(
T
previous
)
{
this
.
previous
=
previous
;
}
public
T
getCurrent
()
{
return
current
;
}
public
void
setCurrent
(
T
current
)
{
this
.
current
=
current
;
}
@Override
public
String
toString
()
{
return
(
JacksonJson
.
toJsonString
(
this
));
}
}
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