Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 197176 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/hyades/trace/views/internal/MethodDetailsStatistic.java (-3 / +4 lines)
Lines 397-406 Link Here
397
							Iterator i = m.getInvocations().iterator();
397
							Iterator i = m.getInvocations().iterator();
398
							while(i.hasNext())
398
							while(i.hasNext())
399
							{
399
							{
400
								TRCMethodInvocation mi = ((TRCMethodInvocation)i.next()).getInvokedBy();
400
								TRCMethodInvocation childMi = (TRCMethodInvocation)i.next();
401
								TRCMethodInvocation mi = childMi.getInvokedBy();
401
								if(mi != null && mi.getMethod().equals(selection)) {
402
								if(mi != null && mi.getMethod().equals(selection)) {
402
									if (mi instanceof TRCAggregatedMethodInvocation) {
403
									if (childMi instanceof TRCAggregatedMethodInvocation) {
403
										nb += ((TRCAggregatedMethodInvocation) mi).getCount();
404
										nb += ((TRCAggregatedMethodInvocation) childMi).getCount();
404
									}
405
									}
405
									else {
406
									else {
406
										nb++;
407
										nb++;

Return to bug 197176