langtools/src/share/classes/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java
changeset 25454 376a52c9540c
parent 22159 682da512ec17
equal deleted inserted replaced
25453:be80cf0463b3 25454:376a52c9540c
     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(" (");