We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ebe96b commit 3f9c971Copy full SHA for 3f9c971
1 file changed
org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/launcher/DebugTypeSelectionDialog.java
@@ -81,8 +81,7 @@ public Image getImage(Object element) {
81
}
82
@Override
83
public String getText(Object element) {
84
- if(element instanceof IType) {
85
- IType type = (IType) element;
+ if (element instanceof IType type) {
86
StringBuilder label = new StringBuilder().append(type.getTypeQualifiedName());
87
String container = getDeclaringContainerName(type);
88
if(container != null && !"".equals(container)) { //$NON-NLS-1$
0 commit comments