added nullable to nullable parameter

This commit is contained in:
adriancole 2013-03-25 10:45:53 -07:00
parent cbe8842e28
commit 458426b065
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ import org.jclouds.compute.domain.Image;
import org.jclouds.compute.domain.ImageBuilder;
import org.jclouds.compute.domain.OperatingSystem;
import org.jclouds.compute.strategy.PopulateDefaultLoginCredentialsForImageStrategy;
import org.jclouds.javax.annotation.Nullable;
import org.jclouds.trmk.vcloud_0_8.domain.ReferenceType;
import org.jclouds.trmk.vcloud_0_8.domain.Status;
import org.jclouds.trmk.vcloud_0_8.domain.VAppTemplate;
@ -60,7 +61,7 @@ public class ImageForVCloudExpressVAppTemplate implements Function<VAppTemplate,
}
@Override
public Image apply(VAppTemplate from) {
public Image apply(@Nullable VAppTemplate from) {
if (from == null)
return null;
ImageBuilder builder = new ImageBuilder();