langtools/src/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
135 Arrays.sort(interfaces); |
135 Arrays.sort(interfaces); |
136 int counter = 0; |
136 int counter = 0; |
137 for (ClassDoc intf : interfaces) { |
137 for (ClassDoc intf : interfaces) { |
138 if (parent != intf) { |
138 if (parent != intf) { |
139 if (!(intf.isPublic() || |
139 if (!(intf.isPublic() || |
140 Util.isLinkable(intf, configuration))) { |
140 utils.isLinkable(intf, configuration))) { |
141 continue; |
141 continue; |
142 } |
142 } |
143 if (counter == 0) { |
143 if (counter == 0) { |
144 if (cd.isInterface()) { |
144 if (cd.isInterface()) { |
145 contentTree.addContent(" ("); |
145 contentTree.addContent(" ("); |