Merge pull request #176 from gzurowski/fix-docs
Fix code sample in documentation: Sampler is not a generic type
This commit is contained in:
@@ -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();
|
||||
}
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user