no (due to .or(sharedResource)). even if it were, it wouldn't npe.

On Sat, Apr 6, 2013 at 6:24 PM, Andrew Phillips <notifications@github.com>wrote:

> In
> google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/compute/strategy/CreateNodesWithGroupEncodedIntoNameThenAddToSet.java:
>
> >
> >        // check if the network was previously created (cache???)
> >        Network network = api.getNetworkApiForProject(userProject.get()).get(networkName);
> >
> >        if (network != null) {
> >           return network;
> > +      } else if (templateOptions.getNetwork().isPresent()) {
> > +         throw new IllegalArgumentException("requested network " + network + " does not exist");
>
> Won't network be null here?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jclouds/jclouds-labs/pull/40/files#r3685199>
> .
>