Unverified Commit c2a309ea authored by Jérémie Bresson's avatar Jérémie Bresson Committed by GitHub
Browse files

Remove deprecated "get/setXxxx_at" methods (#1063)

parent a7b21929
...@@ -34,23 +34,4 @@ public class GpgKey { ...@@ -34,23 +34,4 @@ public class GpgKey {
public void setCreatedAt(Date createdAt) { public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt; this.createdAt = createdAt;
} }
}
/**
* @deprecated Replaced by {@link #getCreatedAt()}
* @return the created at Date
*/
@Deprecated
@JsonIgnore
public Date getCreated_at() {
return createdAt;
}
/**
* @deprecated Replaced by {@link #setCreatedAt(Date)}
* @param createdAt new created at value
*/
@Deprecated
@JsonIgnore
public void setCreated_at(Date createdAt) {
this.createdAt = createdAt;
}}
...@@ -40,25 +40,6 @@ public class PackageFile { ...@@ -40,25 +40,6 @@ public class PackageFile {
this.createdAt = createdAt; this.createdAt = createdAt;
} }
/**
* @deprecated Replaced by {@link #getCreatedAt()}
* @return the created at Date
*/
@Deprecated
@JsonIgnore
public Date getCreated_at() {
return createdAt;
}
/**
* @deprecated Replaced by {@link #setCreatedAt(Date)}
* @param createdAt new created at value
*/
@Deprecated
@JsonIgnore
public void setCreated_at(Date createdAt) {
this.createdAt = createdAt;
}
public String getFileName() { public String getFileName() {
return fileName; return fileName;
} }
......
...@@ -158,16 +158,6 @@ public class Pipeline { ...@@ -158,16 +158,6 @@ public class Pipeline {
this.committedAt = committedAt; this.committedAt = committedAt;
} }
/**
* @deprecated Replaced by {@link #getStartedAt()}
* @return the started at Date
*/
@Deprecated
@JsonIgnore
public Date getStarted_at() {
return startedAt;
}
public String getCoverage() { public String getCoverage() {
return coverage; return coverage;
} }
......
...@@ -121,26 +121,6 @@ public class BuildEvent extends AbstractEvent { ...@@ -121,26 +121,6 @@ public class BuildEvent extends AbstractEvent {
this.buildStartedAt = buildStartedAt; this.buildStartedAt = buildStartedAt;
} }
/**
* @deprecated Replaced by {@link #getBuildStartedAt()}
* @return the buildstarted at Date
*/
@Deprecated
@JsonIgnore
public Date getBuildStarted_at() {
return buildStartedAt;
}
/**
* @deprecated Replaced by {@link #setBuildStartedAt(Date)}
* @param buildStartedAt new buildstarted at value
*/
@Deprecated
@JsonIgnore
public void setBuildStarted_at(Date buildStartedAt) {
this.buildStartedAt = buildStartedAt;
}
public Date getBuildFinishedAt() { public Date getBuildFinishedAt() {
return buildFinishedAt; return buildFinishedAt;
} }
...@@ -149,26 +129,6 @@ public class BuildEvent extends AbstractEvent { ...@@ -149,26 +129,6 @@ public class BuildEvent extends AbstractEvent {
this.buildFinishedAt = buildFinishedAt; this.buildFinishedAt = buildFinishedAt;
} }
/**
* @deprecated Replaced by {@link #getBuildFinishedAt()}
* @return the buildfinished at Date
*/
@Deprecated
@JsonIgnore
public Date getBuildFinished_at() {
return buildFinishedAt;
}
/**
* @deprecated Replaced by {@link #setBuildFinishedAt(Date)}
* @param buildFinishedAt new buildfinished at value
*/
@Deprecated
@JsonIgnore
public void setBuildFinished_at(Date buildFinishedAt) {
this.buildFinishedAt = buildFinishedAt;
}
public Float getBuildDuration() { public Float getBuildDuration() {
return buildDuration; return buildDuration;
} }
......
...@@ -113,26 +113,6 @@ public class JobEvent extends AbstractEvent { ...@@ -113,26 +113,6 @@ public class JobEvent extends AbstractEvent {
this.jobStartedAt = jobStartedAt; this.jobStartedAt = jobStartedAt;
} }
/**
* @deprecated Replaced by {@link #getJobStartedAt()}
* @return the jobstarted at Date
*/
@Deprecated
@JsonIgnore
public Date getJobStarted_at() {
return jobStartedAt;
}
/**
* @deprecated Replaced by {@link #setJobStartedAt(Date)}
* @param jobStartedAt new jobstarted at value
*/
@Deprecated
@JsonIgnore
public void setJobStarted_at(Date jobStartedAt) {
this.jobStartedAt = jobStartedAt;
}
public Date getJobFinishedAt() { public Date getJobFinishedAt() {
return jobFinishedAt; return jobFinishedAt;
} }
...@@ -141,25 +121,6 @@ public class JobEvent extends AbstractEvent { ...@@ -141,25 +121,6 @@ public class JobEvent extends AbstractEvent {
this.jobFinishedAt = jobFinishedAt; this.jobFinishedAt = jobFinishedAt;
} }
/**
* @deprecated Replaced by {@link #getJobFinishedAt()}
* @return the jobfinished at Date
*/
@Deprecated
@JsonIgnore
public Date getJobFinished_at() {
return jobFinishedAt;
}
/**
* @deprecated Replaced by {@link #setJobFinishedAt(Date)}
* @param jobFinishedAt new jobfinished at value
*/
@Deprecated
@JsonIgnore
public void setJobFinished_at(Date jobFinishedAt) {
this.jobFinishedAt = jobFinishedAt;
}
public Integer getJobDuration() { public Integer getJobDuration() {
return jobDuration; return jobDuration;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment