Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2017-09-19 13:08:43 +0000
committerThomas Watson2017-09-19 13:08:43 +0000
commit7c99c6136de930180a097f6724e1e48b44f1334d (patch)
treeeb6601ffad11c1f4744f19eb654f3375fde94ea1
parent766e1c7b9cd8a741deaef8f13095bbe45feacbdc (diff)
downloadrt.equinox.bundles-7c99c6136de930180a097f6724e1e48b44f1334d.tar.gz
rt.equinox.bundles-7c99c6136de930180a097f6724e1e48b44f1334d.tar.xz
rt.equinox.bundles-7c99c6136de930180a097f6724e1e48b44f1334d.zip
Revert "Bug 515588 - [registry] Add meaningful toString() to ConfigurationElementHandle"
This reverts commit 766e1c7b9cd8a741deaef8f13095bbe45feacbdc. Need to revert this since it will break things. Change-Id: Iea65d88f4c2189c4a7fa9a0d57bb3b2062b6c113
-rw-r--r--bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java22
1 files changed, 0 insertions, 22 deletions
diff --git a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java
index bc482420f..5e480add0 100644
--- a/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java
+++ b/bundles/org.eclipse.equinox.registry/src/org/eclipse/core/internal/registry/ConfigurationElementHandle.java
@@ -160,26 +160,4 @@ public class ConfigurationElementHandle extends Handle implements IConfiguration
}
return true;
}
-
- @Override
- public String toString() {
- StringBuilder sb = new StringBuilder();
- sb.append("ConfigurationElementHandle ["); //$NON-NLS-1$
- sb.append("name: "); //$NON-NLS-1$
- sb.append(getName());
- String id = getAttribute("id"); //$NON-NLS-1$
- if (id != null && id.length() > 0) {
- sb.append(", id: ").append(id); //$NON-NLS-1$
- }
- String value = getValue();
- if (value != null) {
- sb.append(", value: ").append(value); //$NON-NLS-1$
- }
- sb.append(", handle id: ").append(hashCode()); //$NON-NLS-1$
- sb.append(", namespace: "); //$NON-NLS-1$
- sb.append(getNamespaceIdentifier());
- sb.append("]"); //$NON-NLS-1$
- return sb.toString();
- }
-
}

Back to the top