Skip to content

Commit 2a44679

Browse files
eclipse-pde-botlaeubi
authored andcommitted
Perform clean code of ui/org.eclipse.pde.spy.css
1 parent 60ce2fc commit 2a44679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/org.eclipse.pde.spy.css/src/org/eclipse/pde/spy/css/CssSpyPart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private void updateWidgetTreeInput() {
234234
if (showAllShells.getSelection()) {
235235
widgetTreeViewer.setInput(display);
236236
} else {
237-
widgetTreeViewer.setInput(new Object[] { shown instanceof Control ? ((Control) shown).getShell() : shown });
237+
widgetTreeViewer.setInput(new Object[] { shown instanceof Control c ? c.getShell() : shown });
238238
}
239239
performCSSSearch(new NullProgressMonitor());
240240
}

0 commit comments

Comments
 (0)