diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2023-03-21 17:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 17:35:23 +0100 |
commit | 5a2b68c574922b76db098fd2d0e9902d5f39a884 (patch) | |
tree | 3a85ed5e02a2b3528d65581667d8e56f56196362 | |
parent | 6f204d98c450092f4a6252677fc44657704b9897 (diff) | |
parent | 094077da6eef53366574d313ec8d0956d885a2cf (diff) | |
download | lombok-5a2b68c574922b76db098fd2d0e9902d5f39a884.tar.gz lombok-5a2b68c574922b76db098fd2d0e9902d5f39a884.tar.bz2 lombok-5a2b68c574922b76db098fd2d0e9902d5f39a884.zip |
Merge pull request #3357 from dreis2211/stop-bubbling
Avoid looking up parent if bubbling stopped
-rw-r--r-- | src/core/lombok/core/configuration/BubblingConfigurationResolver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/core/configuration/BubblingConfigurationResolver.java b/src/core/lombok/core/configuration/BubblingConfigurationResolver.java index 45a45fdc..c55bc75e 100644 --- a/src/core/lombok/core/configuration/BubblingConfigurationResolver.java +++ b/src/core/lombok/core/configuration/BubblingConfigurationResolver.java @@ -82,7 +82,7 @@ public class BubblingConfigurationResolver implements ConfigurationResolver { return (T) result.getValue(); } } - currentLevel = currentLevel.parent(); + currentLevel = stopBubbling ? null : currentLevel.parent(); } if (!isList) return null; |