Skip to main content

All Questions

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(); } ...
Pieter van den Ham's user avatar