Skip to content

Commit f7ad1f5

Browse files
committed
formatting
1 parent 345d619 commit f7ad1f5

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

src/main/java/org/kohsuke/github/GHDeployment.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,27 +61,29 @@ public String getTask() {
6161
}
6262

6363
/**
64-
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a simple string, otherwise use {@link #getPayloadObject()}.
64+
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a simple string,
65+
* otherwise use {@link #getPayloadObject()}.
6566
*
6667
* @return the payload
6768
*/
6869
public String getPayload() {
6970
return (String) payload;
7071
}
71-
72+
7273
/**
73-
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a JSON object (Map), otherwise use {@link #getPayloadObject()}.
74+
* Gets payload. <b>NOTE:</b> only use this method if you can guarantee the payload will be a JSON object (Map),
75+
* otherwise use {@link #getPayloadObject()}.
7476
*
7577
* @return the payload
7678
*/
7779
public Map<String, Object> getPayloadMap() {
7880
return (Map<String, Object>) payload;
7981
}
80-
82+
8183
/**
8284
* Gets payload without assuming its type. It could be a String or a Map.
8385
*
84-
* @return the payload
86+
* @return the payload
8587
*/
8688
public Object getPayloadObject() {
8789
return payload;

src/test/java/org/kohsuke/github/GHDeploymentTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package org.kohsuke.github;
22

3+
import org.junit.Test;
4+
35
import java.io.IOException;
46
import java.util.Arrays;
57
import java.util.Map;
68

7-
import org.junit.Test;
8-
99
/**
1010
* @author Martin van Zijl
1111
*/

0 commit comments

Comments
 (0)