File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -344,10 +344,9 @@ public boolean addDirectory(String dir) {
344
344
return false ;
345
345
}
346
346
347
- private void showFileCount (
348
- String dir , IndexDownArgs args , Statistics elapsed ) {
347
+ private void showFileCount (String dir , IndexDownArgs args ) {
349
348
if (RuntimeEnvironment .getInstance ().isPrintProgress ()) {
350
- elapsed . report ( LOGGER , String .format ("Need to process: %d files for %s" ,
349
+ LOGGER . log ( Level . INFO , String .format ("Need to process: %d files for %s" ,
351
350
args .cur_count , dir ));
352
351
}
353
352
}
@@ -485,7 +484,7 @@ public void update() throws IOException {
485
484
indexDown (sourceRoot , dir , args );
486
485
elapsed .report (LOGGER , String .format ("Done traversal of directory %s" , dir ));
487
486
488
- showFileCount (dir , args , elapsed );
487
+ showFileCount (dir , args );
489
488
490
489
args .cur_count = 0 ;
491
490
elapsed = new Statistics ();
You can’t perform that action at this time.
0 commit comments