We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f68f4f commit df9c8eeCopy full SHA for df9c8ee
bundles/org.eclipse.e4.core.commands/src/org/eclipse/e4/core/commands/ExpressionContext.java
@@ -68,7 +68,7 @@ public void setAllowPluginActivation(boolean value) {
68
@Override
69
public boolean getAllowPluginActivation() {
70
Object obj = eclipseContext.get(ALLOW_ACTIVATION);
71
- return obj instanceof Boolean ? ((Boolean) obj).booleanValue() : false;
+ return obj instanceof Boolean b ? b.booleanValue() : false;
72
}
73
74
0 commit comments