fixed missing nullable

This commit is contained in:
Adrian Cole 2012-09-16 15:03:20 -07:00
parent 80d3b17720
commit e4a41e49fa
2 changed files with 5 additions and 3 deletions

View File

@ -32,10 +32,12 @@ import org.jclouds.fujitsu.fgcp.domain.ServerType;
import org.jclouds.fujitsu.fgcp.domain.UsageInfo; import org.jclouds.fujitsu.fgcp.domain.UsageInfo;
import org.jclouds.fujitsu.fgcp.domain.VSystem; import org.jclouds.fujitsu.fgcp.domain.VSystem;
import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor; import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor;
import org.jclouds.javax.annotation.Nullable;
/** /**
* API relating to the virtual data center. * API relating to the virtual data center.
* *
* @see VirtualDCAsyncApi
* @author Dies Koper * @author Dies Koper
*/ */
@Timeout(duration = 60, timeUnit = TimeUnit.SECONDS) @Timeout(duration = 60, timeUnit = TimeUnit.SECONDS)
@ -51,8 +53,7 @@ public interface VirtualDCApi {
Set<DiskImage> listDiskImages(); Set<DiskImage> listDiskImages();
Set<DiskImage> listDiskImages(String serverCategory, Set<DiskImage> listDiskImages(@Nullable String serverCategory, String vsysDescriptorId);
String vsysDescriptorId);
Map<PublicIP, String> listPublicIPs(); Map<PublicIP, String> listPublicIPs();

View File

@ -41,6 +41,7 @@ import org.jclouds.fujitsu.fgcp.domain.VSystem;
import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor; import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor;
import org.jclouds.fujitsu.fgcp.filters.RequestAuthenticator; import org.jclouds.fujitsu.fgcp.filters.RequestAuthenticator;
import org.jclouds.fujitsu.fgcp.reference.RequestParameters; import org.jclouds.fujitsu.fgcp.reference.RequestParameters;
import org.jclouds.javax.annotation.Nullable;
import org.jclouds.rest.annotations.JAXBResponseParser; import org.jclouds.rest.annotations.JAXBResponseParser;
import org.jclouds.rest.annotations.PayloadParams; import org.jclouds.rest.annotations.PayloadParams;
import org.jclouds.rest.annotations.QueryParams; import org.jclouds.rest.annotations.QueryParams;
@ -102,7 +103,7 @@ public interface VirtualDCAsyncApi {
@JAXBResponseParser @JAXBResponseParser
@QueryParams(keys = "Action", values = "ListDiskImage") @QueryParams(keys = "Action", values = "ListDiskImage")
ListenableFuture<Set<DiskImage>> listDiskImages( ListenableFuture<Set<DiskImage>> listDiskImages(
@QueryParam("serverCategory") String serverCategory, @Nullable @QueryParam("serverCategory") String serverCategory,
@QueryParam("vsysDescriptorId") String vsysDescriptorId); @QueryParam("vsysDescriptorId") String vsysDescriptorId);
/** /**