Hi Am 25.02.2014 um 07:43 schrieb Carsten Ziegeler <[email protected]>:
> Hi, > > while thinking about the tenant stuff (see separate thread), I (again) came > across the fact, that we > don't say anything whether ResourceResolver#getSearchPath is static or > dynamic (if the value might change at runtime for the same resource > resolver). > Looking at code using the resource resolver it's pretty clear that clients > assume its static. Many components read this value once and then go with it. > > Therefore I would like to update the javadocs and add a remark that this > value never changes for a single resource resolver. > > Makes sense? I agree. Yet, maybe you might want to add this, too: Two distinct ResourceResolver instances created by the same ResourceResolverFactory need not have the same search path. [ I am sure you find better wording ;-) ] Regards Felix
