> }
>
> @Override
> public ImageTemplate buildImageTemplateFromNode(String name, String id) {
> - String imageName = name.toLowerCase();
> - return new
> ImageTemplateBuilder.CloneImageTemplateBuilder().nodeId(id).name(imageName).build();
> + name = name.toLowerCase();
We should probably use local variables and assume immutable parameters. Don't
modify references to an input variable.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/305/files/93cecad810be0366709b28b2dbf3259efe10dec2#r73189456