fix ContentItemsSource.printStatistics to print only if verbose

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1200756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shai Erera 2011-11-11 07:58:54 +00:00
parent 9eeece3338
commit 7b4eed2664
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ public abstract class ContentItemsSource {
}
public void printStatistics(String itemsName) {
if (!verbose) {
return;
}
boolean print = false;
String col = " ";
StringBuilder sb = new StringBuilder();