Avoid returning null Optional 61/61161/1
authorStephen Kitt <skitt@redhat.com>
Fri, 4 Aug 2017 10:50:38 +0000 (12:50 +0200)
committerStephen Kitt <skitt@redhat.com>
Fri, 4 Aug 2017 10:50:38 +0000 (12:50 +0200)
commitdc57b280f7f5baf23dc4564574547616b3a50224
treec434e1028025ed2d42465546df8bc32dc031072c
parent83bf7bf5ef25e41edbcd02675e18609f84d90379
Avoid returning null Optional

Optional references should never be null, this patch uses
Optional.absent() instead and cleans up the caller.

Change-Id: Iac1888abf60785a3d3f0f1493bbd71751dd0fbc9
Signed-off-by: Stephen Kitt <skitt@redhat.com>
netconf/callhome-provider/src/main/java/org/opendaylight/netconf/callhome/mount/CallhomeStatusReporter.java