Skip to content

Commit 79e6c5e

Browse files
committed
chore(Compare and Comply): Fix checkstyle complaint and add missing param in unit test
1 parent 79ea473 commit 79e6c5e

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎compare-comply/src/main/java/com/ibm/watson/developer_cloud/compare_comply/v1/CompareComply.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ public ServiceCall<FeedbackList> listFeedback() {
345345
*
346346
* Run Compare and Comply methods over a collection of input documents.
347347
* **Important:** Batch processing requires the use of the [IBM Cloud Object Storage
348-
* service](https://console.bluemix.net/docs/services/cloud-object-storage/about-cos.html#about-ibm-cloud-object-storage).
348+
* service]
349+
* (https://console.bluemix.net/docs/services/cloud-object-storage/about-cos.html#about-ibm-cloud-object-storage).
349350
* The use of IBM Cloud Object Storage with Compare and Comply is discussed at [Using batch
350351
* processing](https://console.bluemix.net/docs/services/compare-comply/batching.html#before-you-batch).
351352
*

‎compare-comply/src/test/java/com/ibm/watson/developer_cloud/compare_comply/v1/CompareComplyTest.java‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,10 @@ public void testCompareDocuments() throws FileNotFoundException, InterruptedExce
787787
public void testAddFeedback() throws InterruptedException {
788788
server.enqueue(jsonResponse(addFeedbackResponse));
789789

790-
AddFeedbackOptions addFeedbackOptions = new AddFeedbackOptions.Builder().build();
790+
FeedbackDataInput feedbackDataInput = new FeedbackDataInput();
791+
AddFeedbackOptions addFeedbackOptions = new AddFeedbackOptions.Builder()
792+
.feedbackData(feedbackDataInput)
793+
.build();
791794
FeedbackReturn response = service.addFeedback(addFeedbackOptions).execute();
792795
RecordedRequest request = server.takeRequest();
793796

0 commit comments

Comments
 (0)