Skip to content

Commit 79c7dd9

Browse files
committed
fix formatting
1 parent 5d796d1 commit 79c7dd9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines 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)