langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/SourcePath.java
equal
deleted
inserted
replaced
108 } |
108 } |
109 |
109 |
110 /** |
110 /** |
111 * Find the specified directory in the source path. |
111 * Find the specified directory in the source path. |
112 * |
112 * |
113 * @param name Name of the directory to be searched for in the source path. |
113 * @param p Name of the directory to be searched for in the source path. |
114 * @return File Return the directory if found else return null. |
114 * @return File Return the directory if found else return null. |
115 */ |
115 */ |
116 public File getDirectory(DocPath p) { |
116 public File getDirectory(DocPath p) { |
117 for (int i = 0; i < sourcePath.length; i++) { |
117 for (int i = 0; i < sourcePath.length; i++) { |
118 File directoryNeeded = new File(sourcePath[i], p.getPath()); |
118 File directoryNeeded = new File(sourcePath[i], p.getPath()); |