Skip to content

Commit 0ed25de

Browse files
organized imports
1 parent 301a3e5 commit 0ed25de

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

examples/java/com/ibm/watson/developer_cloud/speech_to_text/v1/TrascribeWithHttpAndWebSockets.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class TrascribeWithHttpAndWebSockets {
4646
*
4747
* @return the SSL context
4848
* @throws RuntimeException
49-
* if the context can't be initialized
49+
* if the context cannot be initialized
5050
*/
5151
private static SSLContext createSSLContext() {
5252
SSLContext sslContext = null;
@@ -76,7 +76,7 @@ public static void main(String[] args) throws FileNotFoundException {
7676
*
7777
* @return the token
7878
* @throws RuntimeException
79-
* if the token can't be created HTTP response status != 200
79+
* if the token cannot be created HTTP response status != 200
8080
*/
8181
private String getToken() {
8282
String url = AUTHORIZATION_ENDPOINT + "/v1/token?url=" + HTTP_ENDPOINT;

src/test/java/com/ibm/watson/developer_cloud/natural_language_classifier/v1/NaturalLanguageClassifierTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
*/
1616
package com.ibm.watson.developer_cloud.natural_language_classifier.v1;
1717

18-
import static org.junit.Assert.*;
18+
import static org.junit.Assert.assertEquals;
19+
import static org.junit.Assert.assertFalse;
20+
import static org.junit.Assert.assertNotNull;
1921
import static org.mockserver.integration.ClientAndServer.startClientAndServer;
2022
import static org.mockserver.model.HttpRequest.request;
2123
import static org.mockserver.model.HttpResponse.response;

src/test/java/com/ibm/watson/developer_cloud/tradeoff_analytics/v1/ProblemTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package com.ibm.watson.developer_cloud.tradeoff_analytics.v1;
1717

18-
import static org.junit.Assert.*;
18+
import static org.junit.Assert.assertNotNull;
1919

2020
import java.io.InputStream;
2121

src/test/java/com/ibm/watson/developer_cloud/tradeoff_analytics/v1/TradeoffAnalyticsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package com.ibm.watson.developer_cloud.tradeoff_analytics.v1;
1717

18-
import static org.junit.Assert.*;
18+
import static org.junit.Assert.assertNotNull;
1919

2020
import java.io.InputStream;
2121
import java.util.ArrayList;

src/test/java/com/ibm/watson/developer_cloud/visual_insights/v1/VisualInsightsTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@
1818

1919
import java.io.File;
2020

21-
import org.junit.FixMethodOrder;
22-
import org.junit.runners.MethodSorters;
2321
import org.junit.Assert;
2422
import org.junit.Before;
23+
import org.junit.FixMethodOrder;
2524
import org.junit.Test;
25+
import org.junit.runners.MethodSorters;
2626

2727
import com.ibm.watson.developer_cloud.WatsonServiceTest;
2828
import com.ibm.watson.developer_cloud.service.BadRequestException;
29-
import com.ibm.watson.developer_cloud.visual_insights.v1.VisualInsights;
3029
import com.ibm.watson.developer_cloud.visual_insights.v1.model.Classifiers;
3130
import com.ibm.watson.developer_cloud.visual_insights.v1.model.Summary;
3231

0 commit comments

Comments
 (0)