mirror of
https://github.com/Fishwaldo/rundeck-api-java-client.git
synced 2025-07-07 21:48:30 +00:00
fix findbugs warnings
This commit is contained in:
parent
b961b9ac28
commit
7d01c785eb
1 changed files with 4 additions and 4 deletions
|
@ -75,19 +75,19 @@ public class RundeckExecution implements Serializable {
|
|||
}
|
||||
|
||||
public Date getStartedAt() {
|
||||
return startedAt;
|
||||
return (startedAt != null) ? new Date(startedAt.getTime()) : null;
|
||||
}
|
||||
|
||||
public void setStartedAt(Date startedAt) {
|
||||
this.startedAt = startedAt;
|
||||
this.startedAt = ((startedAt != null) ? new Date(startedAt.getTime()) : null);
|
||||
}
|
||||
|
||||
public Date getEndedAt() {
|
||||
return endedAt;
|
||||
return (endedAt != null) ? new Date(endedAt.getTime()) : null;
|
||||
}
|
||||
|
||||
public void setEndedAt(Date endedAt) {
|
||||
this.endedAt = endedAt;
|
||||
this.endedAt = ((endedAt != null) ? new Date(endedAt.getTime()) : null);
|
||||
}
|
||||
|
||||
public String getAbortedBy() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue