mirror of https://github.com/apache/jclouds.git
fixed missing nullable
This commit is contained in:
parent
80d3b17720
commit
e4a41e49fa
|
@ -32,10 +32,12 @@ import org.jclouds.fujitsu.fgcp.domain.ServerType;
|
|||
import org.jclouds.fujitsu.fgcp.domain.UsageInfo;
|
||||
import org.jclouds.fujitsu.fgcp.domain.VSystem;
|
||||
import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor;
|
||||
import org.jclouds.javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* API relating to the virtual data center.
|
||||
*
|
||||
* @see VirtualDCAsyncApi
|
||||
* @author Dies Koper
|
||||
*/
|
||||
@Timeout(duration = 60, timeUnit = TimeUnit.SECONDS)
|
||||
|
@ -51,8 +53,7 @@ public interface VirtualDCApi {
|
|||
|
||||
Set<DiskImage> listDiskImages();
|
||||
|
||||
Set<DiskImage> listDiskImages(String serverCategory,
|
||||
String vsysDescriptorId);
|
||||
Set<DiskImage> listDiskImages(@Nullable String serverCategory, String vsysDescriptorId);
|
||||
|
||||
Map<PublicIP, String> listPublicIPs();
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ import org.jclouds.fujitsu.fgcp.domain.VSystem;
|
|||
import org.jclouds.fujitsu.fgcp.domain.VSystemDescriptor;
|
||||
import org.jclouds.fujitsu.fgcp.filters.RequestAuthenticator;
|
||||
import org.jclouds.fujitsu.fgcp.reference.RequestParameters;
|
||||
import org.jclouds.javax.annotation.Nullable;
|
||||
import org.jclouds.rest.annotations.JAXBResponseParser;
|
||||
import org.jclouds.rest.annotations.PayloadParams;
|
||||
import org.jclouds.rest.annotations.QueryParams;
|
||||
|
@ -102,7 +103,7 @@ public interface VirtualDCAsyncApi {
|
|||
@JAXBResponseParser
|
||||
@QueryParams(keys = "Action", values = "ListDiskImage")
|
||||
ListenableFuture<Set<DiskImage>> listDiskImages(
|
||||
@QueryParam("serverCategory") String serverCategory,
|
||||
@Nullable @QueryParam("serverCategory") String serverCategory,
|
||||
@QueryParam("vsysDescriptorId") String vsysDescriptorId);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue