package org.springframework.cloud.sleuth.sample;

import lombok.extern.slf4j.Slf4j;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.sleuth.Sampler;
import org.springframework.cloud.sleuth.sampler.AlwaysSampler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author Spencer Gibb
 */
@Configuration
@EnableAutoConfiguration
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableAsync
@Slf4j
public class SampleApplication {

	public static final String CLIENT_NAME = "testApp";

	@Bean
	public Sampler defaultSampler() {
		return new AlwaysSampler();
	}

	@Bean
	public SampleController sampleController() {
		return new SampleController();
	}

	public static void main(String[] args) {
		SpringApplication.run(SampleApplication.class, args);
	}

	/*
	 * @Bean public SpanCollector spanCollector() { return new LoggingSpanCollectorImpl();
	 * }
	 */

}

@@ -47,43 +47,8 @@
 e;%0A%0A
-import lombok.extern.slf4j.Slf4j;%0A%0A
 impo
@@ -661,15 +661,8 @@
 ync%0A
-@Slf4j%0A
 publ
@@ -767,16 +767,19 @@
  Sampler
+%3C?%3E
  default

Use generics