Skip to content

Commit bd6ae8b

Browse files
Merge pull request #1156 from watson-developer-cloud/cc-deprecation-message
docs(cc): add deprecation message when creating instance
2 parents f085b0c + d0d98d3 commit bd6ae8b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

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

+12
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@
6262
* @see <a href="https://cloud.ibm.com/docs/compare-comply?topic=compare-comply-about">Compare
6363
* Comply</a>
6464
*/
65+
66+
/**
67+
* @deprecated On 30 November 2021, Compare and Comply will no longer be available.
68+
* For more information, see Compare and Comply Deprecation
69+
* (https://github.com/watson-developer-cloud/java-sdk#compare-and-comply-deprecation).
70+
*/
71+
@Deprecated
6572
public class CompareComply extends BaseService {
6673

6774
public static final String DEFAULT_SERVICE_NAME = "compare-comply";
@@ -123,6 +130,11 @@ public CompareComply(String version, String serviceName, Authenticator authentic
123130
setServiceUrl(DEFAULT_SERVICE_URL);
124131
setVersion(version);
125132
this.configureService(serviceName);
133+
134+
System.err.println(
135+
"On 30 November 2021, Compare and Comply will no longer be available."
136+
+ "\nFor more information, see Compare and Comply Deprecation "
137+
+ "(https://github.com/watson-developer-cloud/java-sdk#compare-and-comply-deprecation).");
126138
}
127139

128140
/**

config.properties.enc

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)