Aled - better than a comment i've refactored it!

--a


On 29/11/2013 14:05, Aled Sage wrote:
>
> In 
> locations/jclouds/src/main/java/brooklyn/location/jclouds/JcloudsLocation.java:
>
> > @@ -356,8 +357,34 @@ public ComputeService getComputeService(Map<?,?> flags) {
> >          Set<? extends ComputeMetadata> nodes = getComputeService().listNodes();
> >          Map<String,MachineMetadata> result = new LinkedHashMap<String, MachineMetadata>();
> >          for (ComputeMetadata node: nodes) {
> > -            result.put(node.getId(), getMachineMetadata(node));
> > +            boolean exclude;
>
> This block could do with a comment to say what the block is for. 
> Presumably something like:
>
> |// for multi-region clouds (and where this JcloudsLocation is for a single region), only list the nodes in this region
> |
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/brooklyncentral/brooklyn/pull/1076/files#r8002287>.
>