src/share/classes/com/sun/tools/doclets/formats/html/TagletWriterImpl.java

changeset 2212
4cb9de4dd420
parent 2147
130b8c0e570e
child 2525
2eb010b6cb22
equal deleted inserted replaced
2211:fb8c59cf26c8 2212:4cb9de4dd420
78 /** 78 /**
79 * {@inheritDoc} 79 * {@inheritDoc}
80 */ 80 */
81 public Content getDocRootOutput() { 81 public Content getDocRootOutput() {
82 String path; 82 String path;
83 if (configuration.docrootparent.length() > 0) 83 if (htmlWriter.pathToRoot.isEmpty())
84 path = configuration.docrootparent;
85 else if (htmlWriter.pathToRoot.isEmpty())
86 path = "."; 84 path = ".";
87 else 85 else
88 path = htmlWriter.pathToRoot.getPath(); 86 path = htmlWriter.pathToRoot.getPath();
89 return new StringContent(path); 87 return new StringContent(path);
90 } 88 }

mercurial