Refactor if/else with dead branch to explain corner case better 39/2339/2
authorRyan Moats <rmoats@us.ibm.com>
Sun, 3 Nov 2013 15:47:24 +0000 (09:47 -0600)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 5 Nov 2013 01:33:06 +0000 (01:33 +0000)
commitd42baa009f97e1bd51b646edc1c247657b976685
tree5fcfd8f2bbd8ec8837a4635d497c37d3d244e60c
parent19e6794dbbed4f4bb650772cddc64d93a98e40e0
Refactor if/else with dead branch to explain corner case better

Change allocating address from subnet pool path to split the pool
in the main branch rather than the else and explain what happens
if the pool as a single address with a comment.

Change-Id: I3e910aecc2b251da419fc5d8055c2a9ccd975563
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java