Clean up TerminationPointCreateCommand.java
authorRyan Goulding <ryandgoulding@gmail.com>
Fri, 10 Apr 2015 22:22:11 +0000 (18:22 -0400)
committerSam Hague <shague@redhat.com>
Sun, 12 Apr 2015 20:48:45 +0000 (20:48 +0000)
commit6fcf58911ad8f23b100dd0de6d297a804e5873f3
treed3d977e27ee39a177e3ae36efcd219602748dc89
parent1ac1ea0738fad91c3b6ade982c709ba80528c2e6
Clean up TerminationPointCreateCommand.java

This change abstracts the different steps involved in the
TerminationPointCreateCommand.execute() method so that the code is more
readable. The individual steps have been put into appropriate private helper
methods.

Change-Id: I65f0c8bc5da3a2509f42479a57fd0392c14baa5f
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>