From f7ad1f517bdf3a961898d2aa4f24b116fe7c8a51 Mon Sep 17 00:00:00 2001 From: Eddie Wiegers Date: Fri, 7 Aug 2020 17:46:33 -0500 Subject: [PATCH] formatting --- src/main/java/org/kohsuke/github/GHDeployment.java | 12 +++++++----- .../java/org/kohsuke/github/GHDeploymentTest.java | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHDeployment.java b/src/main/java/org/kohsuke/github/GHDeployment.java index 47e78cda4..530fb47d1 100644 --- a/src/main/java/org/kohsuke/github/GHDeployment.java +++ b/src/main/java/org/kohsuke/github/GHDeployment.java @@ -61,27 +61,29 @@ public class GHDeployment extends GHObject { } /** - * Gets payload. NOTE: only use this method if you can guarantee the payload will be a simple string, otherwise use {@link #getPayloadObject()}. + * Gets payload. NOTE: only use this method if you can guarantee the payload will be a simple string, + * otherwise use {@link #getPayloadObject()}. * * @return the payload */ public String getPayload() { return (String) payload; } - + /** - * Gets payload. NOTE: only use this method if you can guarantee the payload will be a JSON object (Map), otherwise use {@link #getPayloadObject()}. + * Gets payload. NOTE: only use this method if you can guarantee the payload will be a JSON object (Map), + * otherwise use {@link #getPayloadObject()}. * * @return the payload */ public Map getPayloadMap() { return (Map) payload; } - + /** * Gets payload without assuming its type. It could be a String or a Map. * - * @return the payload + * @return the payload */ public Object getPayloadObject() { return payload; diff --git a/src/test/java/org/kohsuke/github/GHDeploymentTest.java b/src/test/java/org/kohsuke/github/GHDeploymentTest.java index e8a5bb18f..144f41c20 100644 --- a/src/test/java/org/kohsuke/github/GHDeploymentTest.java +++ b/src/test/java/org/kohsuke/github/GHDeploymentTest.java @@ -1,11 +1,11 @@ package org.kohsuke.github; +import org.junit.Test; + import java.io.IOException; import java.util.Arrays; import java.util.Map; -import org.junit.Test; - /** * @author Martin van Zijl */