jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Phillips <notificati...@github.com>
Subject Re: [jclouds-labs-google] Initial commit to add l7 loadbalancing features and tests (#38)
Date Wed, 17 Sep 2014 18:36:47 GMT
> +                .kind(Kind.RESOURCE_VIEW_LIST);
> +         if (listPageObject.has("nextPageToken")) {
> +            builder.nextPageToken(listPageObject.get("nextPageToken").getAsString());
> +         }
> +         if (listPageObject.has("resourceViews")) {
> +            for (JsonElement resourceView : listPageObject.getAsJsonArray("resourceViews"))
{
> +               builder.addItem((ResourceView) context.deserialize(resourceView, ResourceView.class));
> +            }
> +         }
> +         return builder.build();
> +      }
> +   }
> +   
> +   @Singleton
> +   private static class ListPageResourceViewMemberTypeAdapter implements
> +   JsonDeserializer<ListPage<URI>> {

[minor] Indent?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/38/files#r17684148
Mime
View raw message