There was an error while loading. Please reload this page.
1 parent 28d902c commit 65aeafaCopy full SHA for 65aeafa
1 file changed
src/main/java/dev/openfeature/sdk/HookSupport.java
@@ -48,6 +48,8 @@ public void setHookContexts(
48
}
49
50
51
+ // S2789: Hook is user-implemented; defensive null check against non-conforming impls returning null.
52
+ @SuppressWarnings("java:S2789")
53
public void executeBeforeHooks(HookSupportData data) {
54
// These traverse backwards from normal.
55
List<Pair<Hook, HookContext>> hooks = data.getHooks();
0 commit comments