diesieben07
11/09/2017, 9:05 AMdragas
11/09/2017, 9:09 AMprotected
modifier from Limit
diesieben07
11/09/2017, 9:22 AMLimit
is protected
, only subclasses of RateLimitInterceptor
can use it. If the companion object
has a protected
val
with type Limit
"subclasses of the companion object" (there is no such thing of course) would be able to use that val
, but then not be able to use Limit
, because they cannot be a subclass of RateLimitInterceptor
.
I think that's what's going on.dragas
11/09/2017, 9:43 AMilya.gorbunov
11/09/2017, 8:18 PM