diff --git a/src/main/java/org/gitlab4j/api/models/GpgKey.java b/src/main/java/org/gitlab4j/api/models/GpgKey.java index cd551e1fd..cf221bfaf 100644 --- a/src/main/java/org/gitlab4j/api/models/GpgKey.java +++ b/src/main/java/org/gitlab4j/api/models/GpgKey.java @@ -34,23 +34,4 @@ public Date getCreatedAt() { public void setCreatedAt(Date 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; - }} +} diff --git a/src/main/java/org/gitlab4j/api/models/PackageFile.java b/src/main/java/org/gitlab4j/api/models/PackageFile.java index fee85bd29..b89bc9498 100644 --- a/src/main/java/org/gitlab4j/api/models/PackageFile.java +++ b/src/main/java/org/gitlab4j/api/models/PackageFile.java @@ -40,25 +40,6 @@ public void setCreatedAt(Date 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() { return fileName; } diff --git a/src/main/java/org/gitlab4j/api/models/Pipeline.java b/src/main/java/org/gitlab4j/api/models/Pipeline.java index 2e655e87b..31416e518 100644 --- a/src/main/java/org/gitlab4j/api/models/Pipeline.java +++ b/src/main/java/org/gitlab4j/api/models/Pipeline.java @@ -158,16 +158,6 @@ public void setCommittedAt(Date 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() { return coverage; } diff --git a/src/main/java/org/gitlab4j/api/webhook/BuildEvent.java b/src/main/java/org/gitlab4j/api/webhook/BuildEvent.java index 239659a92..d2059ae17 100644 --- a/src/main/java/org/gitlab4j/api/webhook/BuildEvent.java +++ b/src/main/java/org/gitlab4j/api/webhook/BuildEvent.java @@ -121,26 +121,6 @@ public void setBuildStartedAt(Date 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() { return buildFinishedAt; } @@ -149,26 +129,6 @@ public void setBuildFinishedAt(Date 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() { return buildDuration; } diff --git a/src/main/java/org/gitlab4j/api/webhook/JobEvent.java b/src/main/java/org/gitlab4j/api/webhook/JobEvent.java index 8bd31ad34..7ba75f0cb 100644 --- a/src/main/java/org/gitlab4j/api/webhook/JobEvent.java +++ b/src/main/java/org/gitlab4j/api/webhook/JobEvent.java @@ -113,26 +113,6 @@ public void setJobStartedAt(Date 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() { return jobFinishedAt; } @@ -141,25 +121,6 @@ public void setJobFinishedAt(Date 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() { return jobDuration; }