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 79c7dd9

Browse filesBrowse files
committed
fix formatting
1 parent 5d796d1 commit 79c7dd9
Copy full SHA for 79c7dd9

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-4
lines changed

‎src/main/java/org/kohsuke/github/GHRelease.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRelease.java
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ public List<GHAsset> assets() {
272272
* @throws IOException
273273
* the io exception
274274
* @deprecated The behavior of this method will change in a future release. It will then provide cached assets as
275-
* provided by {@link #assets()}. Use {@link #listAssets()} instead to fetch up-to-date
276-
* information of assets.
275+
* provided by {@link #assets()}. Use {@link #listAssets()} instead to fetch up-to-date information of
276+
* assets.
277277
*/
278278
@Deprecated
279279
public List<GHAsset> getAssets() throws IOException {
@@ -289,8 +289,7 @@ public List<GHAsset> getAssets() throws IOException {
289289
*/
290290
public PagedIterable<GHAsset> listAssets() throws IOException {
291291
Requester builder = owner.root.createRequest();
292-
return builder.withUrlPath(getApiTailUrl("assets"))
293-
.toIterable(GHAsset[].class, item -> item.wrap(this));
292+
return builder.withUrlPath(getApiTailUrl("assets")).toIterable(GHAsset[].class, item -> item.wrap(this));
294293
}
295294

296295
/**

0 commit comments

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