File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
jbrowse/src/org/labkey/jbrowse Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11package org .labkey .jbrowse ;
22
33import jakarta .servlet .http .HttpServletResponse ;
4- import org .apache .catalina .connector .Response ;
54import org .apache .commons .lang3 .StringUtils ;
65import org .apache .logging .log4j .Logger ;
76import org .apache .lucene .analysis .Analyzer ;
6867import java .util .Map ;
6968import java .util .Set ;
7069import java .util .StringTokenizer ;
71- import java .util .function .Predicate ;
7270import java .util .concurrent .ExecutorService ;
7371import java .util .concurrent .Executors ;
74-
72+ import java . util . function . Predicate ;
7573import java .util .regex .Matcher ;
7674import java .util .regex .Pattern ;
7775
@@ -486,7 +484,7 @@ public static class ForceMatchAllDocsCachingPolicy implements QueryCachingPolicy
486484 public boolean shouldCache (Query query ) throws IOException {
487485 if (query instanceof BooleanQuery bq ) {
488486 for (BooleanClause clause : bq ) {
489- if (clause .getQuery () instanceof MatchAllDocsQuery ) {
487+ if (clause .query () instanceof MatchAllDocsQuery ) {
490488 return true ;
491489 }
492490 }
You can’t perform that action at this time.
0 commit comments