From: Kasun Gajasinghe Date: Wed, 13 Apr 2011 08:45:51 +0000 (+0000) Subject: Fixed a bug in the webhelpxslindexer caused it to not index output directories contai... X-Git-Tag: release/1.79.1~6^2~760 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ecc2c55f0f955d1d43ca627ab6ff52da9f4164f;p=docbook-dsssl Fixed a bug in the webhelpxslindexer caused it to not index output directories containing '.' in the middle of the name. Thanks to Radu Coravu for reporting it. --- diff --git a/xsl-webhelpindexer/src/com/nexwave/nsidita/DirList.java b/xsl-webhelpindexer/src/com/nexwave/nsidita/DirList.java index 44bcf7a9b..82f611b12 100755 --- a/xsl-webhelpindexer/src/com/nexwave/nsidita/DirList.java +++ b/xsl-webhelpindexer/src/com/nexwave/nsidita/DirList.java @@ -35,7 +35,7 @@ public class DirList { for (File f: inputdir.listFiles(new DirFilter(regex))) { listFiles.add(f); } - for (File f: inputdir.listFiles(new DirFilter("^[^\\.]*$"))) { + for (File f: inputdir.listFiles(new DirFilter("^[^\\.].*$"))) { if (f.isDirectory()){ if (depth < MAX_DEPTH ) { DirList nsiDoc = new DirList(f,regex, depth+1);