Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
matsumana committed May 19, 2018
1 parent 02c633e commit f89ff6f
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.binder.jetty.InstrumentedQueuedThreadPool;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Collections;

@Configuration
@ConditionalOnClass(name = {
"org.eclipse.jetty.server.Server",
"org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory"
})
@ConditionalOnClass(name = "org.eclipse.jetty.server.Server")
@ConditionalOnMissingClass("org.apache.catalina.startup.Tomcat")
public class JettyMetricsConfiguration {

@Bean
Expand Down

0 comments on commit f89ff6f

Please sign in to comment.