Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2009 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 97-103
Link Here
|
97 |
} |
97 |
} |
98 |
IType[] interfaces= hierarchy.getRootInterfaces(); |
98 |
IType[] interfaces= hierarchy.getRootInterfaces(); |
99 |
for (int i= 0; i < interfaces.length; i++) { |
99 |
for (int i= 0; i < interfaces.length; i++) { |
100 |
res.add(interfaces[i]); |
100 |
if (!res.contains(interfaces[i])) |
|
|
101 |
res.add(interfaces[i]); |
101 |
} |
102 |
} |
102 |
} else { |
103 |
} else { |
103 |
if (Flags.isInterface(hierarchy.getCachedFlags(input))) { |
104 |
if (Flags.isInterface(hierarchy.getCachedFlags(input))) { |