Skip to content

Commit e18449b

Browse files
gemini suggestions
Signed-off-by: Alexandra Oberaigner <[email protected]>
1 parent 2ef772b commit e18449b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/dev/openfeature/sdk/OpenFeatureClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,11 @@ private <T> FlagEvaluationDetails<T> evaluateFlag(
217217
}
218218
details.setErrorMessage(e.getMessage());
219219
enrichDetailsWithErrorDefaults(defaultValue, details);
220-
if (hookSupportData.getHooks() != null && hookSupportData.getHints() != null) {
220+
if (hookSupportData.getHooks() != null) {
221221
hookSupport.executeErrorHooks(hookSupportData, e);
222222
}
223223
} finally {
224-
if (hookSupportData.getHooks() != null && hookSupportData.getHints() != null) {
224+
if (hookSupportData.getHooks() != null) {
225225
hookSupport.executeAfterAllHooks(hookSupportData, details);
226226
}
227227
}

0 commit comments

Comments
 (0)