JCLOUDS-1185 Allow rangeIPv4 to be null

The default network of recently created projects have a null value for rangeIPv4
And all regions as subnets, which do have values for the rangeIPv4.

Fixes JCLOUDS-1158
This commit is contained in:
Stuart Hendren 2016-10-07 11:46:05 +01:00 committed by Ignasi Barrera
parent 8e0e781df0
commit 26c060a0e8
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public abstract class Network {
* The range of internal addresses that are legal on this network. This range is a CIDR
* specification, for example: {@code 192.168.0.0/16}.
*/
public abstract String rangeIPv4();
@Nullable public abstract String rangeIPv4();
/**
* This must be within the range specified by IPv4Range, and is typically the first usable address in that range.