aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2023-03-21 17:35:23 +0100
committerGitHub <noreply@github.com>2023-03-21 17:35:23 +0100
commit5a2b68c574922b76db098fd2d0e9902d5f39a884 (patch)
tree3a85ed5e02a2b3528d65581667d8e56f56196362 /src
parent6f204d98c450092f4a6252677fc44657704b9897 (diff)
parent094077da6eef53366574d313ec8d0956d885a2cf (diff)
downloadlombok-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
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/core/configuration/BubblingConfigurationResolver.java2
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;