Deprecate asList and asSet

This commit is contained in:
Liam Newman
2020-02-24 10:38:45 -08:00
parent d77b99d3d4
commit 804fa60317
20 changed files with 138 additions and 160 deletions

View File

@@ -387,22 +387,6 @@ public class GHContent implements Refreshable {
return this;
}
/**
* Wrap gh content [ ].
*
* @param contents
* the contents
* @param repository
* the repository
* @return the gh content [ ]
*/
public static GHContent[] wrap(GHContent[] contents, GHRepository repository) {
for (GHContent unwrappedContent : contents) {
unwrappedContent.wrap(repository);
}
return contents;
}
/**
* Fully populate the data by retrieving missing data.
*