From cdf6f18ec0afd9bf80a23e2452a29a72b05fd382 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sat, 13 Jan 2018 10:36:53 -0800 Subject: [PATCH 1/3] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1d7427dbb2..14ee9b4ed3 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ github-api - 1.91 + 1.92-SNAPSHOT GitHub API for Java http://github-api.kohsuke.org/ GitHub API for Java @@ -16,7 +16,7 @@ scm:git:git@github.com/kohsuke/${project.artifactId}.git scm:git:ssh://git@github.com/kohsuke/${project.artifactId}.git http://${project.artifactId}.kohsuke.org/ - github-api-1.91 + HEAD From 0e5ffda5e5b678e5a54fa2c6f2d86b51e25e948f Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sat, 13 Jan 2018 11:45:57 -0800 Subject: [PATCH 2/3] Release failed due to javadoc errors --- .../java/org/kohsuke/github/GHPullRequestReviewBuilder.java | 2 +- src/main/java/org/kohsuke/github/RateLimitHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java b/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java index 625f6bd923..318daf721f 100644 --- a/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java +++ b/src/main/java/org/kohsuke/github/GHPullRequestReviewBuilder.java @@ -42,7 +42,7 @@ public GHPullRequestReviewBuilder body(String body) { /** * The review action you want to perform. The review actions include: APPROVE, REQUEST_CHANGES, or COMMENT. * By leaving this blank, you set the review action state to PENDING, - * which means you will need to {@linkplain GHPullRequestReview#submit() submit the pull request review} when you are ready. + * which means you will need to {@linkplain GHPullRequestReview#submit(String, GHPullRequestReviewEvent) submit the pull request review} when you are ready. */ public GHPullRequestReviewBuilder event(GHPullRequestReviewEvent event) { builder.with("event",event.action()); diff --git a/src/main/java/org/kohsuke/github/RateLimitHandler.java b/src/main/java/org/kohsuke/github/RateLimitHandler.java index 053fd783e0..e5351da541 100644 --- a/src/main/java/org/kohsuke/github/RateLimitHandler.java +++ b/src/main/java/org/kohsuke/github/RateLimitHandler.java @@ -37,7 +37,7 @@ public abstract class RateLimitHandler { public void onError(IOException e, HttpURLConnection uc) throws IOException { try { Thread.sleep(parseWaitTime(uc)); - } catch (InterruptedException _) { + } catch (InterruptedException x) { throw (InterruptedIOException)new InterruptedIOException().initCause(e); } } From 24e288d5840b600fd0bd44cc3bef0180d990bc61 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sat, 13 Jan 2018 11:51:56 -0800 Subject: [PATCH 3/3] [maven-release-plugin] prepare release github-api-1.92 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 14ee9b4ed3..b8138797e4 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ github-api - 1.92-SNAPSHOT + 1.92 GitHub API for Java http://github-api.kohsuke.org/ GitHub API for Java @@ -16,7 +16,7 @@ scm:git:git@github.com/kohsuke/${project.artifactId}.git scm:git:ssh://git@github.com/kohsuke/${project.artifactId}.git http://${project.artifactId}.kohsuke.org/ - HEAD + github-api-1.92