UrlPathHelper.getResolvedLookupPath is called a lot and it constructs a new message String each time. We should switch to use the lamba call instead.
Comment From: jhoeller
Isn't that String effectively a compile-time constant anyway since it just concatenates a local String with a static final constant value? I'd expect the present variant to be more efficient then since even the lambda instance has some minor overhead...
Comment From: philwebb
Yes. Sorry. For some reason I read it a a concat of lookupPath.