1.1 --- a/src/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java Wed Oct 31 08:31:40 2012 -0700 1.2 +++ b/src/share/classes/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java Wed Oct 31 13:48:15 2012 -0700 1.3 @@ -106,7 +106,7 @@ 1.4 1.5 /** 1.6 * Start the generation of files. Call generate methods in the individual 1.7 - * writers, which will in turn genrate the documentation files. Call the 1.8 + * writers, which will in turn generate the documentation files. Call the 1.9 * TreeWriter generation first to ensure the Class Hierarchy is built 1.10 * first and then can be used in the later generation. 1.11 * 1.12 @@ -124,17 +124,7 @@ 1.13 ClassTree classtree = new ClassTree(configuration, configuration.nodeprecated); 1.14 1.15 generateClassFiles(root, classtree); 1.16 - if (configuration.sourcepath != null && configuration.sourcepath.length() > 0) { 1.17 - StringTokenizer pathTokens = new StringTokenizer(configuration.sourcepath, 1.18 - String.valueOf(File.pathSeparatorChar)); 1.19 - boolean first = true; 1.20 - while(pathTokens.hasMoreTokens()){ 1.21 - Util.copyDocFiles(configuration, 1.22 - new File(pathTokens.nextToken()), 1.23 - DocPaths.DOC_FILES, first); 1.24 - first = false; 1.25 - } 1.26 - } 1.27 + Util.copyDocFiles(configuration, DocPaths.DOC_FILES); 1.28 1.29 PackageListWriter.generate(configuration); 1.30 generatePackageFiles(classtree);