> .status(toPortableNodeStatus.get(input.getStatus())) > .tags(tags) > .uri(input.getSelfLink()) > .userMetadata(input.getMetadata().getItems()) > .group(group) > .privateAddresses(collectPrivateAddresses(input)) > - .publicAddresses(collectPublicAddresses(input)) > - .build(); > + .publicAddresses(collectPublicAddresses(input)); > + > + if > (input.getMetadata().getItems().containsKey(GoogleComputeEngineConstants.GCE_IMAGE_METADATA_KEY)) > { > + try { > + URI imageUri = URI.create(input.getMetadata().getItems() > + > .get(GoogleComputeEngineConstants.GCE_IMAGE_METADATA_KEY)); > + > + if (imageUri != null) { > + Map<URI, ? extends Image> imagesMap = images.get(); > + > + Image image = > checkNotNull(imagesMap.get(checkNotNull(imageUri, "image")),
No need for `checkNotNull(imageUri, "image")` here? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-google/pull/17/files#r8320267