Closed fulldecent closed 4 years ago
This function provides limited utility to the public, since getCreator is already available.
getCreator
Also, every use of isCreator is from a subclass checking for access control and those subclasses are all Operated.
isCreator
Operated
Recommendation: consider to have Template subclass from Operated and charge isCreator from a public function into an internal modifier.
Template
References:
Keeping Template separate but changing isCreator to internal
This function provides limited utility to the public, since
getCreator
is already available.Also, every use of
isCreator
is from a subclass checking for access control and those subclasses are allOperated
.Recommendation: consider to have
Template
subclass fromOperated
and chargeisCreator
from a public function into an internal modifier.References: