src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java

changeset 1383
b980e8e6aabf
parent 1372
78962d89f283
child 1410
bfec2a1cc869
     1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java	Wed Oct 31 08:31:40 2012 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java	Wed Oct 31 13:48:15 2012 -0700
     1.3 @@ -140,10 +140,7 @@
     1.4              //Only copy doc files dir if the containing package is not
     1.5              //documented AND if we have not documented a class from the same
     1.6              //package already. Otherwise, we are making duplicate copies.
     1.7 -            Util.copyDocFiles(configuration,
     1.8 -                new File(Util.getPackageSourcePath(configuration, containingPackage),
     1.9 -                    DocPath.forPackage(annotationTypeDoc).getPath()),
    1.10 -                DocPaths.DOC_FILES, true);
    1.11 +            Util.copyDocFiles(configuration, containingPackage);
    1.12              containingPackagesSeen.add(containingPackage.name());
    1.13          }
    1.14       }

mercurial