Fix checkNotNull() in subscription calculator constructors
Fix code style