diff options
author | Thomas Watson | 2017-09-19 13:08:43 +0000 |
---|---|---|
committer | Thomas Watson | 2017-09-19 13:08:43 +0000 |
commit | 7c99c6136de930180a097f6724e1e48b44f1334d (patch) | |
tree | eb6601ffad11c1f4744f19eb654f3375fde94ea1 | |
parent | 766e1c7b9cd8a741deaef8f13095bbe45feacbdc (diff) | |
download | rt.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.java | 22 |
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(); - } - } |