> + api.getMachineTypeApiForProject(userProject.get())
> + .listInZone(DEFAULT_ZONE_NAME)
> + .concat()
> + .filter(new Predicate<MachineType>() {
> + @Override
> + public boolean apply(MachineType input) {
> + return input.getDeprecated().isPresent();
> + }
> + })
> + .transform(new Function<MachineType, String>() {
> + @Override
> + public String apply(MachineType input) {
> + return input.getId();
> + }
> + })
> + .toSet();
Are you caring about readability here? Happy to change it
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/24/files#r12884292