Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-07-19 11:58:19 +02:00
commit 484946f68c
2 changed files with 3 additions and 1 deletions

View file

@ -855,7 +855,7 @@ public class BinaryMapIndexReader {
}
}
if(req.numberOfVisitedObjects > 0) {
if(req.numberOfVisitedObjects > 0 && req.log) {
log.info("Search is done. Visit " + req.numberOfVisitedObjects + " objects. Read " + req.numberOfAcceptedObjects + " objects."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
log.info("Read " + req.numberOfReadSubtrees + " subtrees. Go through " + req.numberOfAcceptedSubtrees + " subtrees."); //$NON-NLS-1$//$NON-NLS-2$//$NON-NLS-3$
}
@ -1637,6 +1637,7 @@ public class BinaryMapIndexReader {
int numberOfReadSubtrees = 0;
int numberOfAcceptedSubtrees = 0;
boolean interrupted = false;
boolean log = true;
protected SearchRequest(){
}

View file

@ -250,6 +250,7 @@ public class OsmandRegions {
}
}
);
sr.log = false;
if(reader != null) {
reader.searchMapIndex(sr);
}