@@ -314,7 +314,8 @@ public void setup() throws Exception {
314314 getCollsResp = loadFixture (RESOURCE + "get_coll_resp.json" , ListCollectionsResponse .class );
315315 getCollResp = loadFixture (RESOURCE + "get_coll1_resp.json" , Collection .class );
316316 deleteCollResp = loadFixture (RESOURCE + "delete_coll_resp.json" , Map .class );
317- listfieldsCollResp = loadFixture (RESOURCE + "listfields_coll_resp.json" , ListCollectionFieldsResponse .class );
317+ listfieldsCollResp
318+ = loadFixture (RESOURCE + "listfields_coll_resp.json" , ListCollectionFieldsResponse .class );
318319 createDocResp = loadFixture (RESOURCE + "create_doc_resp.json" , DocumentAccepted .class );
319320 updateDocResp = loadFixture (RESOURCE + "update_doc_resp.json" , DocumentAccepted .class );
320321 getDocResp = loadFixture (RESOURCE + "get_doc_resp.json" , DocumentStatus .class );
@@ -323,11 +324,14 @@ public void setup() throws Exception {
323324 queryNoticesResp = loadFixture (RESOURCE + "query1_resp.json" , QueryNoticesResponse .class );
324325 addTrainingQueryResp = loadFixture (RESOURCE + "add_training_query_resp.json" , TrainingQuery .class );
325326 listTrainingDataResp = loadFixture (RESOURCE + "list_training_data_resp.json" , TrainingDataSet .class );
326- createTrainingExampleResp = loadFixture (RESOURCE + "add_training_example_resp.json" , TrainingExample .class );
327+ createTrainingExampleResp
328+ = loadFixture (RESOURCE + "add_training_example_resp.json" , TrainingExample .class );
327329 getTrainingDataResp = loadFixture (RESOURCE + "get_training_data_resp.json" , TrainingQuery .class );
328330 getTrainingExampleResp = loadFixture (RESOURCE + "get_training_example_resp.json" , TrainingExample .class );
329- updateTrainingExampleResp = loadFixture (RESOURCE + "update_training_example_resp.json" , TrainingExample .class );
330- listTrainingExamplesResp = loadFixture (RESOURCE + "list_training_examples_resp.json" , TrainingExampleList .class );
331+ updateTrainingExampleResp
332+ = loadFixture (RESOURCE + "update_training_example_resp.json" , TrainingExample .class );
333+ listTrainingExamplesResp
334+ = loadFixture (RESOURCE + "list_training_examples_resp.json" , TrainingExampleList .class );
331335 listFieldsResp = loadFixture (RESOURCE + "list_fields_resp.json" , ListCollectionFieldsResponse .class );
332336 expansionsResp = loadFixture (RESOURCE + "expansions_resp.json" , Expansions .class );
333337 credentialsResp = loadFixture (RESOURCE + "credentials_resp.json" , Credentials .class );
@@ -336,7 +340,8 @@ public void setup() throws Exception {
336340 metricResp = loadFixture (RESOURCE + "metric_resp.json" , MetricResponse .class );
337341 metricTokenResp = loadFixture (RESOURCE + "metric_token_resp.json" , MetricTokenResponse .class );
338342 logQueryResp = loadFixture (RESOURCE + "log_query_resp.json" , LogQueryResponse .class );
339- tokenDictStatusResponse = loadFixture (RESOURCE + "token_dict_status_resp.json" , TokenDictStatusResponse .class );
343+ tokenDictStatusResponse
344+ = loadFixture (RESOURCE + "token_dict_status_resp.json" , TokenDictStatusResponse .class );
340345 tokenDictStatusResponseStopwords = loadFixture (RESOURCE + "token_dict_status_resp_stopwords.json" ,
341346 TokenDictStatusResponse .class );
342347 gatewayResponse = loadFixture (RESOURCE + "gateway_resp.json" , Gateway .class );
@@ -1645,7 +1650,8 @@ public void testCreateTokenizationDictionary() throws InterruptedException {
16451650 .collectionId (collectionId )
16461651 .tokenizationRules (Collections .singletonList (new TokenDictRule ()))
16471652 .build ();
1648- TokenDictStatusResponse response = discoveryService .createTokenizationDictionary (createOptions ).execute ().getResult ();
1653+ TokenDictStatusResponse response
1654+ = discoveryService .createTokenizationDictionary (createOptions ).execute ().getResult ();
16491655 RecordedRequest request = server .takeRequest ();
16501656
16511657 assertEquals (POST , request .getMethod ());
@@ -1660,7 +1666,8 @@ public void testGetTokenizationDictionaryStatus() throws InterruptedException {
16601666 .environmentId (environmentId )
16611667 .collectionId (collectionId )
16621668 .build ();
1663- TokenDictStatusResponse response = discoveryService .getTokenizationDictionaryStatus (getOptions ).execute ().getResult ();
1669+ TokenDictStatusResponse response
1670+ = discoveryService .getTokenizationDictionaryStatus (getOptions ).execute ().getResult ();
16641671 RecordedRequest request = server .takeRequest ();
16651672
16661673 assertEquals (GET , request .getMethod ());
@@ -1711,7 +1718,8 @@ public void testCreateStopwordList() throws InterruptedException {
17111718 .stopwordFile (testStream )
17121719 .stopwordFilename (testFilename )
17131720 .build ();
1714- TokenDictStatusResponse response = discoveryService .createStopwordList (createStopwordListOptions ).execute ().getResult ();
1721+ TokenDictStatusResponse response
1722+ = discoveryService .createStopwordList (createStopwordListOptions ).execute ().getResult ();
17151723 RecordedRequest request = server .takeRequest ();
17161724
17171725 assertEquals (POST , request .getMethod ());
@@ -1765,7 +1773,8 @@ public void testGetStopwordListStatus() throws InterruptedException {
17651773 .environmentId (environmentId )
17661774 .collectionId (collectionId )
17671775 .build ();
1768- TokenDictStatusResponse response = discoveryService .getStopwordListStatus (getStopwordListStatusOptions ).execute ().getResult ();
1776+ TokenDictStatusResponse response
1777+ = discoveryService .getStopwordListStatus (getStopwordListStatusOptions ).execute ().getResult ();
17691778 RecordedRequest request = server .takeRequest ();
17701779
17711780 assertEquals (GET , request .getMethod ());
0 commit comments