Révision 1096
tmp/org.txm.searchengine.cqp.core/src/org/txm/searchengine/cqp/CQPSearchEngine.java (revision 1096) | ||
---|---|---|
72 | 72 |
File registryDir = new File(binDir, "registry"); |
73 | 73 |
if (!registryDir.isDirectory()) continue; |
74 | 74 |
|
75 |
reg_path += path_separator + registryDir.getAbsolutePath(); |
|
76 | 75 |
File[] files = registryDir.listFiles(); |
77 |
if (files != null) |
|
76 |
if (files != null && files.length > 0) |
|
77 |
reg_path += path_separator + registryDir.getAbsolutePath(); |
|
78 | 78 |
for (File registryFile : files) { |
79 | 79 |
if (registryFile.isHidden()) continue; |
80 | 80 |
if (registryFile.isDirectory()) continue; |
Formats disponibles : Unified diff