Skip to content

Commit df9c8ee

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of bundles/org.eclipse.e4.core.commands
1 parent 7f68f4f commit df9c8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ExpressionContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public void setAllowPluginActivation(boolean value) {
6868
@Override
6969
public boolean getAllowPluginActivation() {
7070
Object obj = eclipseContext.get(ALLOW_ACTIVATION);
71-
return obj instanceof Boolean ? ((Boolean) obj).booleanValue() : false;
71+
return obj instanceof Boolean b ? b.booleanValue() : false;
7272
}
7373

7474
@Override

0 commit comments

Comments
 (0)