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

changeset 1372
78962d89f283
parent 1362
c46e0c9940d6
child 1383
b980e8e6aabf
     1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java	Wed Oct 17 16:43:26 2012 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java	Tue Oct 23 13:20:37 2012 -0700
     1.3 @@ -141,11 +141,9 @@
     1.4              //documented AND if we have not documented a class from the same
     1.5              //package already. Otherwise, we are making duplicate copies.
     1.6              Util.copyDocFiles(configuration,
     1.7 -                Util.getPackageSourcePath(configuration,
     1.8 -                    annotationTypeDoc.containingPackage()) +
     1.9 -                DirectoryManager.getDirectoryPath(
    1.10 -                    annotationTypeDoc.containingPackage())
    1.11 -                    + File.separator, DocletConstants.DOC_FILES_DIR_NAME, true);
    1.12 +                new File(Util.getPackageSourcePath(configuration, containingPackage),
    1.13 +                    DocPath.forPackage(annotationTypeDoc).getPath()),
    1.14 +                DocPaths.DOC_FILES, true);
    1.15              containingPackagesSeen.add(containingPackage.name());
    1.16          }
    1.17       }

mercurial