comment out log messages on success path

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@345093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2005-11-16 19:38:31 +00:00
parent 3c10854e00
commit 0c5febcb15
1 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ implements Serializable {
* Run the test using two CustomSearcher instances. * Run the test using two CustomSearcher instances.
*/ */
public void testFieldSortCustomSearcher() throws Exception { public void testFieldSortCustomSearcher() throws Exception {
log("Run testFieldSortCustomSearcher"); // log("Run testFieldSortCustomSearcher");
// define the sort criteria // define the sort criteria
Sort custSort = new Sort(new SortField[] { Sort custSort = new Sort(new SortField[] {
new SortField("publicationDate_"), new SortField("publicationDate_"),
@ -116,7 +116,7 @@ implements Serializable {
* Run the test using one CustomSearcher wrapped by a MultiSearcher. * Run the test using one CustomSearcher wrapped by a MultiSearcher.
*/ */
public void testFieldSortSingleSearcher() throws Exception { public void testFieldSortSingleSearcher() throws Exception {
log("Run testFieldSortSingleSearcher"); // log("Run testFieldSortSingleSearcher");
// define the sort criteria // define the sort criteria
Sort custSort = new Sort(new SortField[] { Sort custSort = new Sort(new SortField[] {
new SortField("publicationDate_"), new SortField("publicationDate_"),
@ -132,7 +132,7 @@ implements Serializable {
* Run the test using two CustomSearcher instances. * Run the test using two CustomSearcher instances.
*/ */
public void testFieldSortMultiCustomSearcher() throws Exception { public void testFieldSortMultiCustomSearcher() throws Exception {
log("Run testFieldSortMultiCustomSearcher"); // log("Run testFieldSortMultiCustomSearcher");
// define the sort criteria // define the sort criteria
Sort custSort = new Sort(new SortField[] { Sort custSort = new Sort(new SortField[] {
new SortField("publicationDate_"), new SortField("publicationDate_"),
@ -178,7 +178,7 @@ implements Serializable {
resultMap.remove(idHitDate); resultMap.remove(idHitDate);
} }
if(resultMap.size()==0) { if(resultMap.size()==0) {
log("All hits matched"); // log("All hits matched");
} else { } else {
log("Couldn't match "+resultMap.size()+" hits."); log("Couldn't match "+resultMap.size()+" hits.");
} }