Skip to content

Commit

Permalink
added nullable to nullable parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
adriancole committed Mar 25, 2013
1 parent d4422e1 commit 29d5eb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
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;
Expand Down Expand Up @@ -60,7 +61,7 @@ public ImageForVCloudExpressVAppTemplate withParent(ReferenceType parent) {
}

@Override
public Image apply(VAppTemplate from) {
public Image apply(@Nullable VAppTemplate from) {
if (from == null)
return null;
ImageBuilder builder = new ImageBuilder();
Expand Down

0 comments on commit 29d5eb3

Please sign in to comment.