>  
> -     private List<String> elements = Lists.newArrayList();
> -     protected StringBuilder currentText = new StringBuilder();
> -     private Deployment.Builder builder = Deployment.builder();
> +   @Override
> +   public Deployment getResult() {
> +      try {
> +         return builder.build();
> +      } finally {
> +         builder = Deployment.builder();
> +      }

I guess this is equivalent, but would something "boring" like:
```
Deployment deployment = builder.build();
builder = Deployment.builder();
return deployment;
```
not work here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/76/files#r18261883

Reply via email to