Unwrap Optionals 39/77939/1
authorStephen Kitt <skitt@redhat.com>
Mon, 19 Nov 2018 12:10:41 +0000 (13:10 +0100)
committerStephen Kitt <skitt@redhat.com>
Mon, 19 Nov 2018 12:10:41 +0000 (13:10 +0100)
commit8695646981ad04491798a89bdcd022b07f4ead53
treea97d7a6cfa2bf96cc65ff25072863f11b59fdf80
parente122f792fb6421a512370c1e712c61e4bed74977
Unwrap Optionals

This patch fixes a few instances of left-over code which used to
transform a Guava Optional to a Java Optional, but is no longer
necessary since the callee returns a Java Optional directly.

Change-Id: I631c34d645a1d5c8a5b599d4eeb7f161812f40fd
Signed-off-by: Stephen Kitt <skitt@redhat.com>
applications/device-ownership-service/src/main/java/org/opendaylight/openflowplugin/applications/deviceownershipservice/impl/DeviceOwnershipServiceImpl.java
applications/topology-lldp-discovery/src/main/java/org/opendaylight/openflowplugin/applications/topology/lldp/utils/LLDPDiscoveryUtils.java