diff --git a/src/main/java/org/gitlab4j/api/models/Branch.java b/src/main/java/org/gitlab4j/api/models/Branch.java index c4254fe3ba212242fa9b213bca1093ec9c0b5bf4..6505e8e8e1064627cc839539d8260a8920d129e5 100644 --- a/src/main/java/org/gitlab4j/api/models/Branch.java +++ b/src/main/java/org/gitlab4j/api/models/Branch.java @@ -107,18 +107,6 @@ public class Branch { return this; } - /** - * Set the merged attribute - * @param merged - * @deprecated Use {@link #withMerged(Boolean)} instead - * @return Current branch instance - */ - @Deprecated - public Branch withDerged(Boolean merged) { - this.merged = merged; - return this; - } - public Branch withMerged(Boolean merged) { this.merged = merged; return this; diff --git a/src/main/java/org/gitlab4j/api/models/GroupFilter.java b/src/main/java/org/gitlab4j/api/models/GroupFilter.java index 3897830f449142ce8e4dd439e4b38a9c6fc7cbcd..23631dbb2e79b62c6e6fca71cfd747ca929ea928 100644 --- a/src/main/java/org/gitlab4j/api/models/GroupFilter.java +++ b/src/main/java/org/gitlab4j/api/models/GroupFilter.java @@ -33,14 +33,6 @@ public class GroupFilter { return (this); } - /** - * @deprecated this method contains a typo, use {@link #withAllAvailable(Boolean)} instead - */ - @Deprecated - public GroupFilter withAllAvailabley(Boolean allAvailable) { - return withAllAvailable(allAvailable); - } - /** * Show all the groups you have access to (defaults to false for authenticated users, true for admin). * Attributes owned and min_access_level have precedence diff --git a/src/main/java/org/gitlab4j/api/models/Pipeline.java b/src/main/java/org/gitlab4j/api/models/Pipeline.java index 75ec03edbc9c6b936efef39d087645f8c71958b0..cdd493bf181d6e99457128f2697b8630ec80f031 100644 --- a/src/main/java/org/gitlab4j/api/models/Pipeline.java +++ b/src/main/java/org/gitlab4j/api/models/Pipeline.java @@ -130,26 +130,6 @@ public class Pipeline { this.committedAt = committed_at; } - /** - * @deprecated Replaced by {@link #getUpdatedAt()} - * @return the updated at Date - */ - @Deprecated - @JsonIgnore - public Date getUpdated_at() { - return updatedAt; - } - - /** - * @deprecated Replaced by {@link #setUpdatedAt(Date)} - * @param updatedAt new updated at value - */ - @Deprecated - @JsonIgnore - public void setUpdated_at(Date updatedAt) { - this.updatedAt = updatedAt; - } - /** * @deprecated Replaced by {@link #getStartedAt()} * @return the started at Date @@ -160,56 +140,6 @@ public class Pipeline { return startedAt; } - /** - * @deprecated Replaced by {@link #setStartedAt(Date)} - * @param startedAt new started at value - */ - @Deprecated - @JsonIgnore - public void setStarted_at(Date startedAt) { - this.startedAt = startedAt; - } - - /** - * @deprecated Replaced by {@link #getFinishedAt()} - * @return the finished at Date - */ - @Deprecated - @JsonIgnore - public Date getFinished_at() { - return finishedAt; - } - - /** - * @deprecated Replaced by {@link #setFinishedAt(Date)} - * @param finishedAt new finished at value - */ - @Deprecated - @JsonIgnore - public void setFinished_at(Date finishedAt) { - this.finishedAt = finishedAt; - } - - /** - * @deprecated Replaced by {@link #getCommittedAt()} - * @return the committed at Date - */ - @Deprecated - @JsonIgnore - public Date getCommitted_at() { - return committedAt; - } - - /** - * @deprecated Replaced by {@link #setCommittedAt(Date)} - * @param committedAt new committed at value - */ - @Deprecated - @JsonIgnore - public void setCommitted_at(Date committedAt) { - this.committedAt = committedAt; - } - public String getCoverage() { return coverage; } diff --git a/src/main/java/org/gitlab4j/api/models/ProjectFilter.java b/src/main/java/org/gitlab4j/api/models/ProjectFilter.java index a966349f58e07a311179df65bc656c46843b5d13..92c8d22fbb380e1b19c0c88538dfc67e5bd56028 100644 --- a/src/main/java/org/gitlab4j/api/models/ProjectFilter.java +++ b/src/main/java/org/gitlab4j/api/models/ProjectFilter.java @@ -226,19 +226,6 @@ public class ProjectFilter { return (this); } - /** - * Limit by current user minimal access level - * - * @param minAccessLevel limit by current user minimal access level - * @return the reference to this ProjectFilter instance - * @deprecated Replaced by {@link #withMinAccessLevel(AccessLevel) getComponentAt} - */ - @Deprecated - public ProjectFilter minAccessLevel(AccessLevel minAccessLevel) { - this.minAccessLevel = minAccessLevel; - return (this); - } - /** * Limit by current user minimal access level. * diff --git a/src/main/java/org/gitlab4j/api/models/PushData.java b/src/main/java/org/gitlab4j/api/models/PushData.java index 1ec0fbf8e5cbe1d7ec39919672d8fa7fbae3c66d..49b77eb33eccf97192564d64d883b5305049f866 100644 --- a/src/main/java/org/gitlab4j/api/models/PushData.java +++ b/src/main/java/org/gitlab4j/api/models/PushData.java @@ -16,18 +16,6 @@ public class PushData { private String ref; private String commitTitle; - @Deprecated - @JsonIgnore - public Integer getCommit_count() { - return commitCount; - } - - @Deprecated - @JsonIgnore - public void setCommit_count(Integer commit_count) { - this.commitCount = commit_count; - } - public Integer getCommitCount() { return commitCount; } diff --git a/src/main/java/org/gitlab4j/api/models/User.java b/src/main/java/org/gitlab4j/api/models/User.java index b0936a91e2edfed6cbfd7e6724f78045b4fd5b76..d189c80db5f7b3f1ebc341bee9ba1abaf3e8b820 100644 --- a/src/main/java/org/gitlab4j/api/models/User.java +++ b/src/main/java/org/gitlab4j/api/models/User.java @@ -423,32 +423,6 @@ public class User extends AbstractUser { return this; } - /** - * Fluent method to set the projects_limit setting. - * - * @param projectsLimit the value for the projects_limit setting - * @deprecated Replaced by {@link #withProjectsLimit(Integer)} - * @see #withProjectsLimit(Integer) - * @return the value of this instance - */ - @Deprecated - public User withProjectLimit(Integer projectsLimit) { - return withProjectsLimit(projectsLimit); - } - - /** - * Fluent method to set the shared_projects_minutes_limit setting. - * - * @param sharedRunnersMinuteLimit the value for the shared_projects_minutes_limit setting - * @deprecated Replaced by {@link #withSharedRunnersMinutesLimit(Integer)} - * @see #withSharedRunnersMinutesLimit(Integer) - * @return the value of this instance - */ - @Deprecated - public User withSharedRunnersMinuteLimit(Integer sharedRunnersMinuteLimit) { - return withSharedRunnersMinutesLimit(sharedRunnersMinuteLimit); - } - @Override public String toString() { return (JacksonJson.toJsonString(this));