Skip to content

Commit 8e6e71a

Browse files
Upgrade to Spring Boot 4, Spring Framework 7, and Tomcat 11
1 parent 94d358a commit 8e6e71a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
import org.labkey.api.util.logging.LogHelper;
5252
import org.labkey.jbrowse.model.JBrowseSession;
5353
import org.labkey.jbrowse.model.JsonFile;
54+
import org.springframework.mock.web.MockHttpServletResponse;
5455

5556
import java.io.File;
5657
import java.io.IOException;
@@ -661,7 +662,7 @@ public void cacheDefaultQuery()
661662
{
662663
try
663664
{
664-
HttpServletResponse response = new Response();
665+
HttpServletResponse response = new MockHttpServletResponse();
665666
JBrowseLuceneSearch.clearCache(_jsonFile.getObjectId());
666667
doSearchJSON(_user, ALL_DOCS, 100, 0, GENOMIC_POSITION, false, response);
667668
}

0 commit comments

Comments
 (0)