christophsturm
07/18/2016, 1:40 PMpublic <T extends Collector> T register(CollectorRegistry registry)
and kotlin complains that it can’t infer the generics type. but I don’t even care about the return value, so why does it even need to infer the type?