Skip to content

Commit a8d7e1a

Browse files
committed
Removed credentials
1 parent 474b1d7 commit a8d7e1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/java/com/ibm/watson/developer_cloud/document_conversion/v1/DocumentConversionExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class DocumentConversionExample{
3030

3131
public static void main(String[] args) throws URISyntaxException, IOException, InterruptedException {
3232
DocumentConversion service = new DocumentConversion();
33-
service.setUsernameAndPassword("88892b0b-58be-4e5c-9ab8-7f26dc8f89aa", "nJdXja9K4Mhu");
33+
service.setUsernameAndPassword("<username>", "<password>");
3434

3535
// ## Scenario 1: Convert a document without persistence ##
3636
File html = new File("src/test/resources/document_conversion/html-with-extra-content-input.htm");

src/main/java/com/ibm/watson/developer_cloud/document_conversion/v1/DocumentConversion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public class DocumentConversion extends WatsonService {
9595
public static final String TOKEN = "token";
9696

9797
/** The default URL for the service. */
98-
private static final String URL = "https://gateway-s.watsonplatform.net/document-conversion-experimental/api";
98+
private static final String URL = "https://gateway.watsonplatform.net/document-conversion-experimental/api";
9999

100100
/** The batch document helper. */
101101
private final BatchDocumentHelper batchDocumentHelper;

0 commit comments

Comments
 (0)