Skip to content

Commit 6e99dbb

Browse files
committed
fix(ffe): document nullable bootstrap setting
1 parent 5588830 commit 6e99dbb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap

dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap/Agent.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,6 +1661,9 @@ private static boolean isFeatureFlaggingEnabled() {
16611661
providerEnabled, configurationSource, legacyProviderEnabled));
16621662
}
16631663

1664+
@SuppressFBWarnings(
1665+
value = "NP_BOOLEAN_RETURN_NULL",
1666+
justification = "A null value preserves the distinction between absent and explicitly false")
16641667
private static Boolean featureFlaggingBooleanSetting(final String configKey) {
16651668
final String value = featureFlaggingSetting(configKey);
16661669
if (value == null) {

0 commit comments

Comments
 (0)