rzo1 commented on pull request #763:
URL: https://github.com/apache/tomee/pull/763#issuecomment-784267147
> @rzo1 yes, this enables for simple configuration to use some default as
override key (quite useful for hosts for example) but also to nested keys more
readably than with defaults - and was from the time defaults were not
supported) so `${${foo}.bar}` would evaluate foo.bar if foo is missing (else
.bar). Side note: if it helps, fork commons-lang3 code, openejb-core shoudln't
depend on it anyway and code is quite small -
https://github.com/apache/openwebbeans-meecrowave/blob/master/meecrowave-core/src/main/java/org/apache/meecrowave/lang/Substitutor.java.
Regression should be fixed now - at least, if I understood it correctly.
`openejb-core` has some more dependencies towards `lang3`
- org.apache.commons.lang3.StringUtils
- org.apache.commons.lang3.text.StrLookup;
- org.apache.commons.lang3.text.StrSubstitutor; (alternative: Substitutor
from `text` - might be worth replacing it as it is deprecated...)
- org.apache.commons.lang3.builder.ToStringBuilder
- org.apache.commons.lang3.ClassUtils
- org.apache.commons.lang3.tuple.ImmutablePair
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]