Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 182687 Details for
Bug 329663
[type hierarchy] Interfaces duplicated in type hierarchy on two packages from multiple projects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for UI
patch_329663.txt (text/plain), 1.36 KB, created by
Raksha Vasisht
on 2010-11-09 04:28:18 EST
(
hide
)
Description:
Patch for UI
Filename:
MIME Type:
Creator:
Raksha Vasisht
Created:
2010-11-09 04:28:18 EST
Size:
1.36 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.ui >Index: ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java,v >retrieving revision 1.38 >diff -u -r1.38 TraditionalHierarchyViewer.java >--- ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java 6 Aug 2009 13:53:47 -0000 1.38 >+++ ui/org/eclipse/jdt/internal/ui/typehierarchy/TraditionalHierarchyViewer.java 9 Nov 2010 09:02:14 -0000 >@@ -1,5 +1,5 @@ > /******************************************************************************* >- * Copyright (c) 2000, 2009 IBM Corporation and others. >+ * Copyright (c) 2000, 2010 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -97,7 +97,8 @@ > } > IType[] interfaces= hierarchy.getRootInterfaces(); > for (int i= 0; i < interfaces.length; i++) { >- res.add(interfaces[i]); >+ if (!res.contains(interfaces[i])) >+ res.add(interfaces[i]); > } > } else { > if (Flags.isInterface(hierarchy.getCachedFlags(input))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 329663
:
182599
|
182687
|
182787
|
183646