> @@ -72,7 +72,7 @@ public DriveInfo apply(Map<String, String> from) {
>        if (from.containsKey("use"))
>           builder.use(Splitter.on(' ').split(from.get("use")));
>        if (from.containsKey("bits"))
> -         builder.bits(Integer.valueOf(from.get("bits")));
> +         builder.bits(Integer.parseInt(from.get("bits")));

`bits` is actually an Integer, so wouldn't valueOf (which returns an Integer 
rather than an int) make more sense?

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

Reply via email to