Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimeon Andreev2021-03-12 15:07:25 +0000
committerAndrey Loskutov2021-03-15 10:34:59 +0000
commit3281ee0d4f38cd85ee24cb0bdb6ee8a5be43b8cc (patch)
treeb32577434c200304592c251960c017fc40cdf4de
parent23d7b94dbcbf60c2b9c484b6f6a3919898490e63 (diff)
downloadeclipse.platform.ui-3281ee0d4f38cd85ee24cb0bdb6ee8a5be43b8cc.tar.gz
eclipse.platform.ui-3281ee0d4f38cd85ee24cb0bdb6ee8a5be43b8cc.tar.xz
eclipse.platform.ui-3281ee0d4f38cd85ee24cb0bdb6ee8a5be43b8cc.zip
Bug 571910 - Error log entry contains duplicate child
When logging a status with a CoreException, which contains another status, we see 2 children of the top Error Log entry. This change removes special handling for a status with a CoreException. The special handling was made obsolete with the fix for bug 567395, and so can result in duplicated children. Change-Id: Ic62f88d2ffa6f9eee781247a778dde5b0bc85a5f
-rw-r--r--bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java b/bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java
index deb02f3130d..760b3128218 100644
--- a/bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java
+++ b/bundles/org.eclipse.ui.views.log/src/org/eclipse/ui/internal/views/log/LogView.java
@@ -1122,14 +1122,6 @@ public class LogView extends ViewPart implements LogListener {
private LogEntry createLogEntry(IStatus status) {
LogEntry entry = new LogEntry(status, currentSession);
-
- if (status.getException() instanceof CoreException) {
- IStatus coreStatus = ((CoreException) status.getException()).getStatus();
- if (coreStatus != null) {
- LogEntry childEntry = createLogEntry(coreStatus);
- entry.addChild(childEntry);
- }
- }
return entry;
}

Back to the top