> +import com.google.common.base.Function;
> +import com.google.common.base.Splitter;
> +import com.google.common.collect.Maps;
> +
> +/**
> + * @author Ignasi Barrera
> + */
> +@Singleton
> +public class MapToStandardDrive implements Function<Map<String, String>,
> StandardDrive> {
> +
> + @Resource
> + protected Logger logger = Logger.NULL;
> +
> + @Override
> + public StandardDrive apply(Map<String, String> from) {
> + if (from.size() == 0)
`from.isEmpty()`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/362/files#r13033920