- public synchronized void registerPath(final Class<? extends BaseIdentity> context, final InstanceIdentifier<?> path) {
- if(!registrations.containsKey(path)) {
- registrations.put(path, adapter.registerRpcImplementation(type, instance, ImmutableSet.<InstanceIdentifier<?>>of(path)));
+ public synchronized void registerPath(final Class<? extends BaseIdentity> context,
+ final InstanceIdentifier<?> path) {
+ if (!registrations.containsKey(path)) {
+ registrations.put(path,
+ adapter.registerRpcImplementation(type, instance, ImmutableSet.<InstanceIdentifier<?>>of(path)));