Repository: jclouds
Updated Branches:
  refs/heads/fix/AzureTemplateBuilderLiveTest 699baf6d7 -> 3b726b568 (forced 
update)


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


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/26c060a0
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/26c060a0
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/26c060a0

Branch: refs/heads/fix/AzureTemplateBuilderLiveTest
Commit: 26c060a0e899333bed560b1def58ac08634d12fd
Parents: 8e0e781
Author: Stuart Hendren <stuarthend...@tenode.com>
Authored: Fri Oct 7 11:46:05 2016 +0100
Committer: Ignasi Barrera <n...@apache.org>
Committed: Fri Oct 7 14:12:08 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/jclouds/googlecomputeengine/domain/Network.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/26c060a0/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Network.java
----------------------------------------------------------------------
diff --git 
a/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Network.java
 
b/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Network.java
index 7b30cff..3183b1d 100644
--- 
a/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Network.java
+++ 
b/providers/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Network.java
@@ -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.

Reply via email to