Skip to content

Commit 115fccb

Browse files
committed
Fix error prone.
1 parent bcb6a86 commit 115fccb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

solr/core/src/test/org/apache/solr/handler/designer/TestSchemaDesignerAPI.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import static org.mockito.Mockito.mock;
2424
import static org.mockito.Mockito.when;
2525

26+
import jakarta.ws.rs.core.Response;
2627
import java.io.IOException;
2728
import java.nio.file.Files;
2829
import java.nio.file.Path;
@@ -511,7 +512,7 @@ public void testBasicUserWorkflow() throws Exception {
511512

512513
// Download ZIP
513514
when(mockReq.getContentStreams()).thenReturn(null);
514-
jakarta.ws.rs.core.Response downloadResponse = schemaDesignerAPI.downloadConfig(configSet);
515+
Response downloadResponse = schemaDesignerAPI.downloadConfig(configSet);
515516
assertNotNull(downloadResponse);
516517
assertEquals(200, downloadResponse.getStatus());
517518
assertTrue(
@@ -747,8 +748,7 @@ public void testQueryReturnsErrorDetailsOnIndexingFailure() throws Exception {
747748
// Prep the schema and analyze sample docs so the temp collection and stored docs exist
748749
schemaDesignerAPI.prepNewSchema(configSet, null);
749750
ContentStreamBase.StringStream stream =
750-
new ContentStreamBase.StringStream(
751-
"[{\"id\":\"doc1\",\"title\":\"test doc\"}]", JSON_MIME);
751+
new ContentStreamBase.StringStream("[{\"id\":\"doc1\",\"title\":\"test doc\"}]", JSON_MIME);
752752
ModifiableSolrParams reqParams = new ModifiableSolrParams();
753753
reqParams.set(CONFIG_SET_PARAM, configSet);
754754
when(mockReq.getParams()).thenReturn(reqParams);

0 commit comments

Comments
 (0)