> +public class NetworkToSecurityGroup implements Function<Network, 
> SecurityGroup> {
> +   @Resource
> +   @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> +   protected Logger logger = Logger.NULL;
> +
> +   private final Function<Firewall, Iterable<IpPermission>> firewallToPerms;
> +   private final GoogleComputeEngineApi api;
> +   private final Supplier<String> project;
> +
> +   @Inject
> +   public NetworkToSecurityGroup(Function<Firewall, Iterable<IpPermission>> 
> firewallToPerms,
> +                                 GoogleComputeEngineApi api,
> +                                 @UserProject Supplier<String> project) {
> +      this.firewallToPerms = firewallToPerms;
> +      this.api = api;
> +      this.project = project;

Do we need any null checks here?

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

Reply via email to