> +                Object service = super.addingService(reference);
> +                if (serviceToken.isAssignableFrom(service.getClass())) {
> +                    cacheManager.bindService((T) service);
> +                }
> +                return service;
> +            }
> +
> +            @Override
> +            public void removedService(ServiceReference reference, Object 
> service) {
> +                if (serviceToken.isAssignableFrom(service.getClass())) {
> +                    cacheManager.unbindService((T) service);
> +                }
> +                super.removedService(reference, service);
> +            }
> +        };
> +    }

[minor] Indents look off here, but also in the rest of the file, I guess...

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-karaf/pull/65/files#r29634585

Reply via email to