I will fix this (and the colons in for-each loops) in a next patch.


On Mon, Apr 28, 2014 at 3:10 AM, Andrew Phillips
<notifications@github.com>wrote:

> In
> google/src/main/java/org/jclouds/examples/google/computeengine/CreateServer.java:
>
> > +            .credentials(serviceAccountEmailAddress, serviceAccountKey)
> > +            .overrides(overrides)
> > +            .buildView(ComputeServiceContext.class);
> > +      computeService = context.getComputeService();
> > +   }
> > +
> > +   /**
> > +    * Create a server based on a Template. This method uses Template.hardwareId() and Template.imageId() to
> > +    * also demonstrate iterating through Hardware and Images. Alternatively you do the same without iterating
> > +    * using the following Template.
> > +    *
> > +    * Template template = computeService.templateBuilder()
> > +    *     .locationId(getLocationId())
> > +    *     .osFamily(OsFamily.CENTOS)
> > +    *     .osVersionMatches("6")
> > +    *     .minRam(28*1024)
>
> [minor] Spaces, i.e. 28 * 1024?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jclouds/jclouds-examples/pull/44/files#r12032748>
> .
>