X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fblueprint%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fblueprint%2Fext%2FRoutedRpcRegistrationConverter.java;fp=opendaylight%2Fblueprint%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fblueprint%2Fext%2FRoutedRpcRegistrationConverter.java;h=66174438b23a89fc670aa464f1fc67eb5e7fd734;hb=d8be13e36b4a5fca3155e7ab3e840ba9ab5a75b1;hp=5ae9a1cf72179563a532b3aea3f1e78ebf0cb677;hpb=df80cb74afc5dee73bbd930133b06add52801225;p=controller.git diff --git a/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RoutedRpcRegistrationConverter.java b/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RoutedRpcRegistrationConverter.java index 5ae9a1cf72..66174438b2 100644 --- a/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RoutedRpcRegistrationConverter.java +++ b/opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RoutedRpcRegistrationConverter.java @@ -22,13 +22,13 @@ import org.osgi.service.blueprint.container.ReifiedType; */ public class RoutedRpcRegistrationConverter implements Converter { @Override - public boolean canConvert(Object sourceObject, ReifiedType targetType) { + public boolean canConvert(final Object sourceObject, final ReifiedType targetType) { return sourceObject instanceof RoutedRpcRegistration && RoutedRpcRegistration.class.isAssignableFrom(targetType.getRawClass()); } @Override - public Object convert(Object sourceObject, ReifiedType targetType) { + public Object convert(final Object sourceObject, final ReifiedType targetType) { return sourceObject; } }