A few minor points on top of Vogel's:
- It seems
PostController postController
can befinal
- Instead of using
Matcher.find()
, usingMatcher.matches()
would be more explicit. You could also drop the$
from the end of your patterns
A few minor points on top of Vogel's:
PostController postController
can be final
Matcher.find()
, using Matcher.matches()
would be more explicit. You could also drop the $
from the end of your patterns