Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ad393c8

Browse filesBrowse files
Fixed spotless issues.
1 parent 15a6e85 commit ad393c8
Copy full SHA for ad393c8

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎src/test/java/org/kohsuke/github/GHReleaseTest.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/GHReleaseTest.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,16 +201,16 @@ public void testMakeLatestRelease() throws Exception {
201201

202202
/**
203203
* Tests creation of the release with `generate_release_notes parameter on`.
204-
* @throws Exception if any failure has happened.
204+
*
205+
* @throws Exception
206+
* if any failure has happened.
205207
*/
206208
@Test
207209
public void testCreateReleaseWithNotes() throws Exception {
208210
GHRepository repo = gitHub.getRepository("hub4j-test-org/testCreateRelease");
209211

210212
String tagName = mockGitHub.getMethodName();
211-
GHRelease release = new GHReleaseBuilder(repo, tagName)
212-
.generateReleaseNotes(true)
213-
.create();
213+
GHRelease release = new GHReleaseBuilder(repo, tagName).generateReleaseNotes(true).create();
214214
try {
215215
GHRelease releaseCheck = repo.getRelease(release.getId());
216216

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.