From 02c1995c9a32e705a6f19a107aba975d6ad5903f Mon Sep 17 00:00:00 2001
From: Greg Messner <greg@messners.com>
Date: Thu, 21 Mar 2019 23:51:10 -0700
Subject: [PATCH] Renamed modifyPipelineSchedule() to updatePipelineSchedule()
 to follow library naming conventions (#318).

---
 src/main/java/org/gitlab4j/api/PipelineApi.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/gitlab4j/api/PipelineApi.java b/src/main/java/org/gitlab4j/api/PipelineApi.java
index 9b759d04..3bd67f52 100644
--- a/src/main/java/org/gitlab4j/api/PipelineApi.java
+++ b/src/main/java/org/gitlab4j/api/PipelineApi.java
@@ -305,6 +305,7 @@ public class PipelineApi extends AbstractApi implements Constants {
     public List<PipelineSchedule> getPipelineSchedules(Object projectIdOrPath) throws GitLabApiException {
         return (getPipelineSchedules(projectIdOrPath, getDefaultPerPage()).all());
     }
+
     /**
      * Get list of project pipeline schedules in the specified page range.
      *
@@ -320,6 +321,7 @@ public class PipelineApi extends AbstractApi implements Constants {
         Response response = get(Response.Status.OK, getPageQueryParams(page, perPage), "projects", getProjectIdOrPath(projectIdOrPath), "pipeline_schedules");
         return (response.readEntity(new GenericType<List<PipelineSchedule>>() {}));
     }
+
     /**
      * Get Pager of project pipeline schedule.
      *
@@ -347,7 +349,6 @@ public class PipelineApi extends AbstractApi implements Constants {
         return (getPipelineSchedules(projectIdOrPath, getDefaultPerPage()).stream());
     }
 
-
     /**
      * Get a specific pipeline schedule for project.
      *
@@ -427,7 +428,7 @@ public class PipelineApi extends AbstractApi implements Constants {
      * @return the modified project schedule
      * @throws GitLabApiException if any exception occurs
      */
-    public PipelineSchedule modifyPipelineSchedule(Object projectIdOrPath,PipelineSchedule pipelineSchedule) throws GitLabApiException {
+    public PipelineSchedule updatePipelineSchedule(Object projectIdOrPath,PipelineSchedule pipelineSchedule) throws GitLabApiException {
 
         GitLabApiForm formData = new GitLabApiForm()
                 .withParam("description", pipelineSchedule.getDescription(), false)
-- 
GitLab