Merge pull request #176 from gzurowski/fix-docs

Fix code sample in documentation: Sampler is not a generic type
This commit is contained in:
Marcin Grzejszczak
2016-02-19 14:58:04 +01:00

View File

@@ -35,7 +35,7 @@ A sampler can be installed just by creating a bean definition, e.g:
[source,java]
----
@Bean
public Sampler<?> defaultSampler() {
public Sampler defaultSampler() {
return new AlwaysSampler();
}
----