> +                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);
> +            }
> +        };
> +    }

Yes, all the files were formatted that way and I didn't want to reformat 
everything in this PR.

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

Reply via email to