nacx commented on this pull request.
> + @ConstructorProperties({ "devices", "meta" })
+ public Devices(List<Device> items, Meta meta) {
+ super(items, meta);
+ }
+ }
+
+ private static class ToPagedIterable extends BaseToPagedIterable<Device, ListOptions>
{
+
+ @Inject ToPagedIterable(PacketApi api, Function<Href, ListOptions> linkToOptions)
{
+ super(api, linkToOptions);
+ }
+
+ @Override
+ protected List<Object> getArgs(GeneratedHttpRequest request) {
+ return request.getCaller().get().getArgs();
+ }
Why it is not needed in the other similar classes? I think we can remove the override.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/345
|