Code clean up
[bgpcep.git] / bgp / bmp-impl / src / main / java / org / opendaylight / protocol / bmp / impl / app / BmpMonitoringStationImpl.java
index f93876c28faae3f2327ab59e9249d758c7475d4b..76a13566b73aa3fc0e049c14e267b3aadc37495e 100644 (file)
@@ -88,7 +88,7 @@ public final class BmpMonitoringStationImpl implements BmpMonitoringStation {
                     ret = KeyMapping.getKeyMapping(addr, rfc2385KeyPassword.getValue());
                     dispatcher.createClient(
                         Ipv4Util.toInetSocketAddress(mr.getAddress(), mr.getPort()),
-                        this.sessionManager, Optional.<KeyMapping>fromNullable(ret));
+                        this.sessionManager, Optional.fromNullable(ret));
                 }
             }
         }