Skip to content

Commit c461400

Browse files
committed
Unpolish the unnecessary polishing ;-)
1 parent f2f6e45 commit c461400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension/EnabledIfCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private ConditionEvaluationResult evaluate(EnabledIf annotation, ScriptEngine sc
126126
boolean enabled;
127127

128128
if (result instanceof Boolean) {
129-
enabled = ((Boolean) result).booleanValue();
129+
enabled = (Boolean) result;
130130
}
131131
else {
132132
enabled = Boolean.parseBoolean(resultAsString);

0 commit comments

Comments
 (0)