All Questions
1 question
2
votes
4
answers
276
views
Is creating "shortcut methods" in the superclass of a controller Bad Practice?
Consider the following simplified example:
abstract public class Controller {
protected final boolean isUserAdmin() {
return getServiceContainer().getUserService().isUserAdmin();
}
...