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
fd0b8825
Commit
fd0b8825
authored
Sep 23, 2017
by
Greg Messner
Browse files
Modified to use new Duration class.
parent
32b31ca0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/TimeStats.java
View file @
fd0b8825
...
@@ -10,8 +10,8 @@ public class TimeStats {
...
@@ -10,8 +10,8 @@ public class TimeStats {
private
Integer
timeEstimate
;
private
Integer
timeEstimate
;
private
Integer
totalTimeSpent
;
private
Integer
totalTimeSpent
;
private
String
humanTimeEstimate
;
private
Duration
humanTimeEstimate
;
private
String
humanTotalTimeSpent
;
private
Duration
humanTotalTimeSpent
;
public
Integer
getTimeEstimate
()
{
public
Integer
getTimeEstimate
()
{
return
timeEstimate
;
return
timeEstimate
;
...
@@ -29,19 +29,19 @@ public class TimeStats {
...
@@ -29,19 +29,19 @@ public class TimeStats {
this
.
totalTimeSpent
=
totalTimeSpent
;
this
.
totalTimeSpent
=
totalTimeSpent
;
}
}
public
String
getHumanTimeEstimate
()
{
public
Duration
getHumanTimeEstimate
()
{
return
humanTimeEstimate
;
return
humanTimeEstimate
;
}
}
public
void
setHumanTimeEstimate
(
String
humanTimeEstimate
)
{
public
void
setHumanTimeEstimate
(
Duration
humanTimeEstimate
)
{
this
.
humanTimeEstimate
=
humanTimeEstimate
;
this
.
humanTimeEstimate
=
humanTimeEstimate
;
}
}
public
String
getHumanTotalTimeSpent
()
{
public
Duration
getHumanTotalTimeSpent
()
{
return
humanTotalTimeSpent
;
return
humanTotalTimeSpent
;
}
}
public
void
setHumanTotalTimeSpent
(
String
humanTotalTimeSpent
)
{
public
void
setHumanTotalTimeSpent
(
Duration
humanTotalTimeSpent
)
{
this
.
humanTotalTimeSpent
=
humanTotalTimeSpent
;
this
.
humanTotalTimeSpent
=
humanTotalTimeSpent
;
}
}
}
}
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