File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments