commit | 86dc65b603d1f75ce535b2855f47cd752b6de24a | [log] [tgz] |
---|---|---|
author | Andrey Loskutov <loskutov@gmx.de> | Thu Apr 29 14:31:11 2021 +0200 |
committer | Andrey Loskutov <loskutov@gmx.de> | Thu Apr 29 13:06:36 2021 -0400 |
tree | 3e5e9bbb5ad08c4f0ee003ac20789e946eb341e1 | |
parent | abe58e51ba4e00eb0d5816bae9aeae47b0582259 [diff] |
Bug 572597 - change "invalid" to "unnamed" Also don't print element itself, the data is almost always useless Change-Id: Id3db94b389da1fac2afce3585b87fe7b1c2ec8a4 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/179981 Reviewed-by: Rolf Theunissen <rolf.theunissen@gmail.com>
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java index 38e8572..89daaac 100644 --- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java +++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/cpd/CustomizePerspectiveDialog.java
@@ -1385,7 +1385,7 @@ } String elementId = elt.getElementId(); if (elementId == null) { - return "Invalid element: " + elt; //$NON-NLS-1$ + return "Unnamed element"; //$NON-NLS-1$ } ActionSetRegistry registry = WorkbenchPlugin.getDefault().getActionSetRegistry(); IActionSetDescriptor findActionSet = registry.findActionSet(elementId);