aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Dreis <christoph.dreis@freenet.de>2023-02-22 13:56:13 +0100
committerChristoph Dreis <christoph.dreis@freenet.de>2023-02-22 13:56:13 +0100
commit094077da6eef53366574d313ec8d0956d885a2cf (patch)
treeff003aa7c60dbd3b6f27be7366f133e601fae317
parente5c324c615c1e304b2a9a64bc7f8608a67b0a74e (diff)
downloadlombok-094077da6eef53366574d313ec8d0956d885a2cf.tar.gz
lombok-094077da6eef53366574d313ec8d0956d885a2cf.tar.bz2
lombok-094077da6eef53366574d313ec8d0956d885a2cf.zip
Avoid looking up parent if bubbling stopped
-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;