mirror of
https://github.com/lightbend/config.git
synced 2025-01-15 23:01:05 +08:00
add comment about not having ConfigValue.parent()
This commit is contained in:
parent
b7a73dc85b
commit
054e27ccd0
@ -4,6 +4,13 @@ import com.typesafe.config.ConfigOrigin;
|
||||
import com.typesafe.config.ConfigResolveOptions;
|
||||
import com.typesafe.config.ConfigValue;
|
||||
|
||||
/**
|
||||
*
|
||||
* Trying very hard to avoid a parent reference in config values; when you have
|
||||
* a tree like this, the availability of parent() tends to result in a lot of
|
||||
* improperly-factored and non-modular code. Please don't add parent().
|
||||
*
|
||||
*/
|
||||
abstract class AbstractConfigValue implements ConfigValue {
|
||||
|
||||
final private ConfigOrigin origin;
|
||||
|
Loading…
Reference in New Issue
Block a user