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;h=66174438b23a89fc670aa464f1fc67eb5e7fd734;hb=14c92df74247c884a43c5aaea2f154992b0ec798;hp=7daf7febf6493ca5bfe0c03d95ad86134a72eb05;hpb=762f30c90106b79a775478f0485e0db76ea361ff;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 7daf7febf6..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) { - return sourceObject instanceof RoutedRpcRegistration && - RoutedRpcRegistration.class.isAssignableFrom(targetType.getRawClass()); + 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; } }